dotfiles/vscode/.vscode/extensions/ms-python.vscode-pylance-2024.7.1/dist/bundled/stubs/matplotlib/sankey.pyi
Errol Sancaktar 5f8db31398 alacritty
2024-07-15 17:06:13 -06:00

40 lines
967 B
Python

from types import SimpleNamespace
from typing import Sequence
from .axes import Axes
RIGHT = ...
UP = ...
DOWN = ...
class Sankey:
def __init__(
self,
ax: Axes | None = ...,
scale: float = ...,
unit: str = ...,
format: str = ...,
gap: float = ...,
radius: float = ...,
shoulder: float = ...,
offset: float = ...,
head_angle: int = ...,
margin: float = ...,
tolerance: float = ...,
**kwargs,
) -> None: ...
def add(
self,
patchlabel: str = ...,
flows: Sequence[float] = ...,
orientations: Sequence[int] = ...,
labels: Sequence[str | None] = ...,
trunklength: float = ...,
pathlengths: Sequence[float] = ...,
prior: int = ...,
connect: Sequence[int] = ...,
rotation: float = ...,
**kwargs,
) -> Sankey: ...
def finish(self) -> list[SimpleNamespace]: ...