We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00bf9ac commit 4d19994Copy full SHA for 4d19994
packages/python/plotly/plotly/basedatatypes.py
@@ -1212,8 +1212,8 @@ def _selector_matches(obj, selector):
1212
if isinstance(selector_val, BasePlotlyType):
1213
selector_val = selector_val.to_plotly_json()
1214
1215
- return obj_val == selector_val
1216
-
+ if obj_val != selector_val:
+ return False
1217
return True
1218
# If selector is a function, call it with the obj as the argument
1219
elif type(selector) == type(lambda x: True):
0 commit comments