Skip to content

Commit 3cd01a4

Browse files
committed
feat: dont use random ID
1 parent 9a5f2bf commit 3cd01a4

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/io

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/plotly/io/_html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def to_html(
135135
fig_dict = validate_coerce_fig_to_dict(fig, validate)
136136

137137
# ## Generate div id ##
138-
plotdivid = str(uuid.uuid4())
138+
plotdivid = "plotly-root"
139139

140140
# ## Serialize figure ##
141141
jdata = to_json_plotly(fig_dict.get("data", []))

0 commit comments

Comments
 (0)