Skip to content

Commit 8a22d2a

Browse files
committed
Fixed bug in on_change callback registration
1 parent 6e4a272 commit 8a22d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/basedatatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3145,7 +3145,7 @@ def _dispatch_change_callbacks(self, changed_paths):
31453145
for callback in callbacks:
31463146
callback(self, *callback_args)
31473147

3148-
def on_change(self, callback, append=False, *args):
3148+
def on_change(self, callback, *args, append=False):
31493149
"""
31503150
Register callback function to be called when certain properties or
31513151
subproperties of this object are modified.

0 commit comments

Comments
 (0)