Skip to content

Commit 9320ae6

Browse files
committed
new docstring format
1 parent 3cbc340 commit 9320ae6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

plotly/widgets/graph_widget.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ def delete_traces(self, indices):
169169
"""
170170
Delete data traces from a graph.
171171
172-
:param (list[int]) indices: The indices of the traces to be removed
172+
Args:
173+
indices (list[int]): The indices of the traces to be removed
173174
174175
"""
175176
message = {
@@ -186,10 +187,11 @@ def move_traces(self, current_indices, new_indices=None):
186187
If new_indices isn't specified, the traces at the locations specified
187188
in current_indices are moved to the end of the data array.
188189
189-
:param (list[int]) current_indices: The initial indices the traces to
190-
be moved occupy.
191-
:param (list[int]|None|optional) new_indices: The final indices the
192-
traces to be moved will occupy.
190+
Args:
191+
current_indices (list[int]): The initial indices the traces to
192+
be moved occupy.
193+
new_indices (list[int]|None|optional): The final indices the
194+
traces to be moved will occupy.
193195
194196
"""
195197
message = {

0 commit comments

Comments
 (0)