Skip to content

Commit 645a47d

Browse files
fix: Docstring parameters order
1 parent ca23386 commit 645a47d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/ansys/tools/visualization_interface/backends/plotly/widgets/button_manager.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,18 @@ def add_button(self,
6262
X position of the button (0-1).
6363
y : float
6464
Y position of the button (0-1).
65+
xanchor : str, optional
66+
X anchor point for the button, by default "left".
67+
yanchor : str, optional
68+
Y anchor point for the button, by default "bottom".
6569
method : str, optional
6670
The method to call when the button is clicked. Options include:
6771
'restyle', 'relayout', 'update', 'animate', by default 'restyle'.
6872
args : List[Any], optional
6973
Arguments to pass to the method when the button is clicked, by default None.
7074
args2 : List[Any], optional
7175
Secondary arguments for toggle functionality, by default None.
72-
xanchor : str, optional
73-
X anchor point for the button, by default "left".
74-
yanchor : str, optional
75-
Y anchor point for the button, by default "bottom".
76+
7677
"""
7778
if args is None:
7879
args = [{}]

0 commit comments

Comments
 (0)