Skip to content

Commit 663b062

Browse files
Update _selector_matches error
Now selector can accept any graph object
1 parent c4423ef commit 663b062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/plotly/basedatatypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ def _selector_matches(obj, selector):
838838
else:
839839
raise TypeError(
840840
"selector must be dict or a function "
841-
"accepting a trace returning a boolean."
841+
"accepting a graph object returning a boolean."
842842
)
843843

844844
def for_each_trace(self, fn, selector=None, row=None, col=None, secondary_y=None):

0 commit comments

Comments
 (0)