regen some pyi

This commit is contained in:
Lendemor 2024-12-19 14:04:35 +01:00
parent 4999518fea
commit b67cf66953
4 changed files with 39 additions and 39 deletions

View File

@ -103,5 +103,5 @@ asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto" asyncio_mode = "auto"
[tool.codespell] [tool.codespell]
skip = "./docs/*,*.html,examples/*, *.pyi" skip = "docs/*,*.html,examples/*, *.pyi"
ignore-words-list = "te" ignore-words-list = "te"

View File

@ -113,41 +113,41 @@ class Plotly(NoSSRComponent):
"""Create the Plotly component. """Create the Plotly component.
Args: Args:
*children: The children of the component. *children: The children of the component.
data: The figure to display. This can be a plotly figure or a plotly data json. data: The figure to display. This can be a plotly figure or a plotly data json.
layout: The layout of the graph. layout: The layout of the graph.
template: The template for visual appearance of the graph. template: The template for visual appearance of the graph.
config: The config of the graph. config: The config of the graph.
use_resize_handler: If true, the graph will resize when the window is resized. use_resize_handler: If true, the graph will resize when the window is resized.
on_after_plot: Fired after the plot is redrawn. on_after_plot: Fired after the plot is redrawn.
on_animated: Fired after the plot was animated. on_animated: Fired after the plot was animated.
on_animating_frame: Fired while animating a single frame (does not currently pass data through). on_animating_frame: Fired while animating a single frame (does not currently pass data through).
on_animation_interrupted: Fired when an animation is interrupted (to start a new animation for example). on_animation_interrupted: Fired when an animation is interrupted (to start a new animation for example).
on_autosize: Fired when the plot is responsively sized. on_autosize: Fired when the plot is responsively sized.
on_before_hover: Fired whenever mouse moves over a plot. on_before_hover: Fired whenever mouse moves over a plot.
on_button_clicked: Fired when a plotly UI button is clicked. on_button_clicked: Fired when a plotly UI button is clicked.
on_click: Fired when the plot is clicked. on_click: Fired when the plot is clicked.
on_deselect: Fired when a selection is cleared (via double click). on_deselect: Fired when a selection is cleared (via double click).
on_double_click: Fired when the plot is double clicked. on_double_click: Fired when the plot is double clicked.
on_hover: Fired when a plot element is hovered over. on_hover: Fired when a plot element is hovered over.
on_relayout: Fired after the plot is laid out (zoom, pan, etc). on_relayout: Fired after the plot is laid out (zoom, pan, etc).
on_relayouting: Fired while the plot is being laid out. on_relayouting: Fired while the plot is being laid out.
on_restyle: Fired after the plot style is changed. on_restyle: Fired after the plot style is changed.
on_redraw: Fired after the plot is redrawn. on_redraw: Fired after the plot is redrawn.
on_selected: Fired after selecting plot elements. on_selected: Fired after selecting plot elements.
on_selecting: Fired while dragging a selection. on_selecting: Fired while dragging a selection.
on_transitioning: Fired while an animation is occurring. on_transitioning: Fired while an animation is occurring.
on_transition_interrupted: Fired when a transition is stopped early. on_transition_interrupted: Fired when a transition is stopped early.
on_unhover: Fired when a hovered element is no longer hovered. on_unhover: Fired when a hovered element is no longer hovered.
style: The style of the component. style: The style of the component.
key: A unique key for the component. key: A unique key for the component.
id: The id for the component. id: The id for the component.
class_name: The class name for the component. class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded autofocus: Whether the component should take the focus once the page is loaded
custom_attrs: custom attribute custom_attrs: custom attribute
**props: The properties of the component. **props: The properties of the component.
Returns: Returns:
The Plotly component. The Plotly component.
""" """
... ...

View File

@ -150,7 +150,7 @@ class Center(Flex):
Args: Args:
*children: Child components. *children: Child components.
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse" direction: How child items are laid out: "row" | "column" | "row-reverse" | "column-reverse"
align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch" align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch"
justify: Alignment of children along the cross axis: "start" | "center" | "end" | "between" justify: Alignment of children along the cross axis: "start" | "center" | "end" | "between"
wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse" wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse"

View File

@ -126,7 +126,7 @@ class Stack(Flex):
spacing: Gap between children: "0" - "9" spacing: Gap between children: "0" - "9"
align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch" align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch"
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse" direction: How child items are laid out: "row" | "column" | "row-reverse" | "column-reverse"
justify: Alignment of children along the cross axis: "start" | "center" | "end" | "between" justify: Alignment of children along the cross axis: "start" | "center" | "end" | "between"
wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse" wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse"
access_key: Provides a hint for generating a keyboard shortcut for the current element. access_key: Provides a hint for generating a keyboard shortcut for the current element.
@ -258,7 +258,7 @@ class VStack(Stack):
Args: Args:
*children: The children of the stack. *children: The children of the stack.
direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse" direction: How child items are laid out: "row" | "column" | "row-reverse" | "column-reverse"
spacing: Gap between children: "0" - "9" spacing: Gap between children: "0" - "9"
align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch" align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch"
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
@ -393,7 +393,7 @@ class HStack(Stack):
Args: Args:
*children: The children of the stack. *children: The children of the stack.
direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse" direction: How child items are laid out: "row" | "column" | "row-reverse" | "column-reverse"
spacing: Gap between children: "0" - "9" spacing: Gap between children: "0" - "9"
align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch" align: Alignment of children along the main axis: "start" | "center" | "end" | "baseline" | "stretch"
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.