matplotlib.typing#

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

Represent a union type

E.g. for int | str

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

Represent a 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 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 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 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 union type

E.g. for int | str

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

Represent a 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 union type

E.g. for int | str

matplotlib.typing.FillStyleType#

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

matplotlib.typing.CapStyleType = matplotlib._enums.CapStyle | typing.Literal['butt', 'projecting', 'round']#

Represent a union type

E.g. for int | str

matplotlib.typing.JoinStyleType = matplotlib._enums.JoinStyle | typing.Literal['miter', 'round', 'bevel']#

Represent a union type

E.g. for int | str

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

Represent a union type

E.g. for int | str

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

A nested list of Hashable values.

alias of list[_HT | HashableList[_HT]]