up follow livre
This commit is contained in:
parent
b4b4398bb0
commit
3a7a3849ae
12242 changed files with 2564461 additions and 6914 deletions
61
venv/lib/python3.13/site-packages/matplotlib/sankey.pyi
Normal file
61
venv/lib/python3.13/site-packages/matplotlib/sankey.pyi
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
from matplotlib.axes import Axes
|
||||
|
||||
from collections.abc import Callable, Iterable
|
||||
from typing import Any
|
||||
from typing_extensions import Self # < Py 3.11
|
||||
|
||||
import numpy as np
|
||||
|
||||
__license__: str
|
||||
__credits__: list[str]
|
||||
__author__: str
|
||||
__version__: str
|
||||
|
||||
RIGHT: int
|
||||
UP: int
|
||||
DOWN: int
|
||||
|
||||
# TODO typing units
|
||||
class Sankey:
|
||||
diagrams: list[Any]
|
||||
ax: Axes
|
||||
unit: Any
|
||||
format: str | Callable[[float], str]
|
||||
scale: float
|
||||
gap: float
|
||||
radius: float
|
||||
shoulder: float
|
||||
offset: float
|
||||
margin: float
|
||||
pitch: float
|
||||
tolerance: float
|
||||
extent: np.ndarray
|
||||
def __init__(
|
||||
self,
|
||||
ax: Axes | None = ...,
|
||||
scale: float = ...,
|
||||
unit: Any = ...,
|
||||
format: str | Callable[[float], str] = ...,
|
||||
gap: float = ...,
|
||||
radius: float = ...,
|
||||
shoulder: float = ...,
|
||||
offset: float = ...,
|
||||
head_angle: float = ...,
|
||||
margin: float = ...,
|
||||
tolerance: float = ...,
|
||||
**kwargs
|
||||
) -> None: ...
|
||||
def add(
|
||||
self,
|
||||
patchlabel: str = ...,
|
||||
flows: Iterable[float] | None = ...,
|
||||
orientations: Iterable[int] | None = ...,
|
||||
labels: str | Iterable[str | None] = ...,
|
||||
trunklength: float = ...,
|
||||
pathlengths: float | Iterable[float] = ...,
|
||||
prior: int | None = ...,
|
||||
connect: tuple[int, int] = ...,
|
||||
rotation: float = ...,
|
||||
**kwargs
|
||||
) -> Self: ...
|
||||
def finish(self) -> list[Any]: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue