Spaces:
Running
Running
Download python_embed/Lib/site-packages/matplotlib/testing/widgets.pyi from Aluode/PerceptionLabPortable: direct link, hf CLI and curl.
- Browser
- Download file 831 Bytes
-
https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/Lib/site-packages/matplotlib/testing/widgets.pyi
- Command line
-
hf download hf://spaces/Aluode/PerceptionLabPortable/python_embed/Lib/site-packages/matplotlib/testing/widgets.pyi
-
curl -L -o widgets.pyi https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/Lib/site-packages/matplotlib/testing/widgets.pyi
831 Bytes
| from typing import Any, Literal | |
| from matplotlib.axes import Axes | |
| from matplotlib.backend_bases import Event, MouseButton | |
| from matplotlib.widgets import AxesWidget, Widget | |
| def get_ax() -> Axes: ... | |
| def noop(*args: Any, **kwargs: Any) -> None: ... | |
| def mock_event( | |
| ax: Axes, | |
| button: MouseButton | int | Literal["up", "down"] | None = ..., | |
| xdata: float = ..., | |
| ydata: float = ..., | |
| key: str | None = ..., | |
| step: int = ..., | |
| ) -> Event: ... | |
| def do_event( | |
| tool: AxesWidget, | |
| etype: str, | |
| button: MouseButton | int | Literal["up", "down"] | None = ..., | |
| xdata: float = ..., | |
| ydata: float = ..., | |
| key: str | None = ..., | |
| step: int = ..., | |
| ) -> None: ... | |
| def click_and_drag( | |
| tool: Widget, | |
| start: tuple[float, float], | |
| end: tuple[float, float], | |
| key: str | None = ..., | |
| ) -> None: ... | |