Skip to content

Commit ca23386

Browse files
fix: Update docstring
1 parent d0a90ea commit ca23386

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ def add_button(self,
5858
----------
5959
label : str
6060
The text to display on the button.
61+
x : float
62+
X position of the button (0-1).
63+
y : float
64+
Y position of the button (0-1).
6165
method : str, optional
6266
The method to call when the button is clicked. Options include:
6367
'restyle', 'relayout', 'update', 'animate', by default 'restyle'.
6468
args : List[Any], optional
6569
Arguments to pass to the method when the button is clicked, by default None.
6670
args2 : List[Any], optional
6771
Secondary arguments for toggle functionality, by default None.
68-
x : float, optional
69-
X position of the button (0-1), by default 0.02.
70-
y : float, optional
71-
Y position of the button (0-1), by default 1.02.
7272
xanchor : str, optional
7373
X anchor point for the button, by default "left".
7474
yanchor : str, optional

0 commit comments

Comments
 (0)