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 bf4cd97

Browse filesBrowse files
BasePlotlyType.__setitem__ exceptions casted to ValueError
1 parent 9bb2470 commit bf4cd97
Copy full SHA for bf4cd97

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

‎packages/python/plotly/plotly/basedatatypes.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/basedatatypes.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4193,7 +4193,7 @@ def __setitem__(self, prop, value):
41934193
# ----------------------
41944194
# e.g. ('foo', 1), ()
41954195
else:
4196-
err = _check_path_in_prop_tree(self, orig_prop)
4196+
err = _check_path_in_prop_tree(self, orig_prop, error_cast=ValueError)
41974197
if err is not None:
41984198
raise err
41994199
res = self

0 commit comments

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