8000 specify indices · pferate/python-api@99faf0c · GitHub
[go: up one dir, main page]

Skip 10000 to content

Commit 99faf0c

Browse files
committed
specify indices
1 parent eb24be1 commit 99faf0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/widgets/graph_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ def reorder_traces(self, current_indices, new_indices=None):
671671
message['newIndices'] = new_indices
672672
self._handle_outgoing_message(message)
673673

674-
def extend_traces(self, update, indices, max_points=None):
674+
def extend_traces(self, update, indices=(0,), max_points=None):
675675
""" Append data points to existing traces in the Plotly graph.
676676
677677
Args:

0 commit comments

Comments
 (0)
0