stackplot.pyi 491 B

1234567891011121314151617
  1. from matplotlib.axes import Axes
  2. from matplotlib.collections import PolyCollection
  3. from collections.abc import Iterable
  4. from typing import Literal
  5. from numpy.typing import ArrayLike
  6. from matplotlib.typing import ColorType
  7. def stackplot(
  8. axes: Axes,
  9. x: ArrayLike,
  10. *args: ArrayLike,
  11. labels: Iterable[str] = ...,
  12. colors: Iterable[ColorType] | None = ...,
  13. baseline: Literal["zero", "sym", "wiggle", "weighted_wiggle"] = ...,
  14. **kwargs
  15. ) -> list[PolyCollection]: ...