matplotlib.typing#

matplotlib.typing.RGBColorType = tuple[float, float, float] | str#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.RGBColourType = tuple[float, float, float] | str#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.RGBAColorType = str | tuple[float, float, float, float] | tuple[tuple[float, float, float] | str, float] | tuple[tuple[float, float, float, float], float]#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.RGBAColourType = str | tuple[float, float, float, float] | tuple[tuple[float, float, float] | str, float] | tuple[tuple[float, float, float, float], float]#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.ColorType = tuple[float, float, float] | str | tuple[float, float, float, float] | tuple[tuple[float, float, float] | str, float] | tuple[tuple[float, float, float, float], float]#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.ColourType = tuple[float, float, float] | str | tuple[float, float, float, float] | tuple[tuple[float, float, float] | str, float] | tuple[tuple[float, float, float, float], float]#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.LineStyleType = str | tuple[float, collections.abc.Sequence[float]]#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.DrawStyleType#

alias of Literal['default', 'steps', 'steps-pre', 'steps-mid', 'steps-post']

matplotlib.typing.MarkEveryType = None | int | tuple[int, int] | slice | list[int] | float | tuple[float, float] | list[bool]#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.FillStyleType#

alias of Literal['full', 'left', 'right', 'bottom', 'top', 'none']

matplotlib.typing.CapStyleType#

alias of CapStyle | Literal['butt', 'projecting', 'round']

matplotlib.typing.JoinStyleType#

alias of JoinStyle | Literal['miter', 'round', 'bevel']

matplotlib.typing.RcStyleType = str | dict[str, typing.Any] | pathlib._local.Path | collections.abc.Sequence[str | pathlib._local.Path | dict[str, typing.Any]]#

Represent a PEP 604 union type

E.g. for int | str

matplotlib.typing.HashableList(iterable=(), /)#

A nested list of Hashable values.

alias of list[_HT | HashableList[_HT]]