You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
"""
|
|
This type stub file was generated by pyright.
|
|
"""
|
|
|
|
import numpy as np
|
|
from matplotlib.axes import Axes
|
|
from collections.abc import Callable, Iterable
|
|
from typing import Any
|
|
|
|
__license__: str
|
|
__credits__: list[str]
|
|
__author__: str
|
|
__version__: str
|
|
RIGHT: int
|
|
UP: int
|
|
DOWN: int
|
|
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) -> Sankey:
|
|
...
|
|
|
|
def finish(self) -> list[Any]:
|
|
...
|
|
|
|
|
|
|