We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ade92 commit d0a90eaCopy full SHA for d0a90ea
src/ansys/tools/visualization_interface/backends/plotly/widgets/button_manager.py
@@ -44,13 +44,14 @@ def __init__(self, fig: go.Figure):
44
45
def add_button(self,
46
label: str,
47
+ x: float,
48
+ y: float,
49
+ xanchor: str = "left",
50
+ yanchor: str = "bottom",
51
method: str = "restyle",
52
args: List[Any] = None,
53
args2: List[Any] = None,
- x: float = 0.02,
- y: float = 1.02,
- xanchor: str = "left",
- yanchor: str = "bottom") -> None:
54
+ ) -> None:
55
"""Add a button to the Plotly figure.
56
57
Parameters
0 commit comments