Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c62b66f

Browse filesBrowse files
erichigginsjonmmease
authored andcommitted
Use uuid4 instead of uuid1 to generate trace uid (plotly#1236)
* Use uuid4 instead of uuid1 to generate trace uid
1 parent 4c054a3 commit c62b66f
Copy full SHA for c62b66f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎_plotly_utils/basevalidators.py

Copy file name to clipboardExpand all lines: _plotly_utils/basevalidators.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,7 @@ def validate_coerce(self, v, skip_invalid=False):
22982298
# Set new UIDs
22992299
if self.set_uid:
23002300
for trace in v:
2301-
trace.uid = str(uuid.uuid1())
2301+
trace.uid = str(uuid.uuid4())
23022302

23032303
else:
23042304
if skip_invalid:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.