Typing Information

Protocols

PlotAddable

PlotAddable()

Object that can be added to a ggplot object

Methods

__radd__
__radd__(plot)

Add to ggplot object

Parameters
other

ggplot object

Returns
ggplot

ggplot object

DataFrameConvertible

DataFrameConvertible()

Object that can be converted to a DataFrame

Methods

to_pandas
to_pandas()

Convert to pandas dataframe

Returns
pd.DataFrame

Pandas representation of this object.

Type Variables

TFloatArrayLike

TypeVar("TFloatArrayLike", bound=FloatArrayLike)

Type Aliases

TupleInt2

TupleFloat2

TupleFloat3

TupleFloat4

AnyArray

BoolArray

FloatArray

IntArray

StrArray

AnySeries

IntSeries

FloatSeries

AnyArrayLike

IntArrayLike

FloatArrayLike

TransformCol

Data

DataLike

LayerData

LayerDataLike

ColorLike

str

ColorsLike

FigureFormat

Literal["png", "retina", "jpeg", "jpg", "svg", "pdf"]

StripLabellingFuncNames

Literal[
    "label_value", "label_both", "label_context"
]

FacetSpaceRatios

dict[Literal["x", "y"], Sequence[float]]

StripLabellingFunc

Callable[
    [strip_label_details], strip_label_details
]

StripLabellingDict

(
    dict[str, str] | dict[str, Callable[[str], str]]
)

CanBeStripLabellingFunc

StripPosition

Literal["top", "right"]

ScaledAestheticsName

Literal[
    "x",
    "xmin",
    "xmax",
    "xend",
    "xintercept",
    "y",
    "ymin",
    "ymax",
    "yend",
    "yintercept",
    "alpha",
    "color",
    "colour",
    "fill",
    "linetype",
    "shape",
    "size",
    "stroke",
]

ScaleContinuousLimits

ScaleDiscreteLimits

ScaleLimits

ScaleLimitsRaw

(
    None | ScaleLimits | Callable[[ScaleLimits], ScaleLimits]
)

ScaleContinuousLimitsRaw

ScaleDiscreteLimitsRaw

ScaleContinuousBreaks

ScaleDiscreteBreaks

ScaleBreaks

ScaleBreaksRaw

(
    bool | None | ScaleBreaks | Callable[[ScaleLimits], ScaleBreaks]
)

ScaleContinuousBreaksRaw

(
    bool
    | None
    | ScaleContinuousBreaks
    | Callable[[ScaleContinuousLimits], ScaleContinuousBreaks]
)

ScaleDiscreteBreaksRaw

(
    bool
    | None
    | ScaleDiscreteBreaks
    | Callable[[ScaleDiscreteLimits], ScaleDiscreteBreaks]
)

ScaleMinorBreaksRaw

ScaleLabelsRaw

(
    bool
    | None
    | Sequence[str]
    | Callable[[ScaleBreaks], Sequence[str]]
    | dict[str, str]
)

ScaleLabels

CoordRange

SidePosition

Literal["left", "right", "top", "bottom"]

LegendPosition

(
    Literal["left", "right", "top", "bottom", "inside"] | tuple[float, float]
)

Orientation

Literal["horizontal", "vertical"]

GuideKind

Literal["legend", "colorbar", "colourbar"]

LegendOrColorbar

(
    guide_legend | guide_colorbar | Literal["legend", "colorbar"]
)

NoGuide

Literal["none", False]

LegendOnly

guide_legend | Literal["legend"]

VerticalJustification

Literal["bottom", "center", "top"]

HorizontalJustification

Literal["left", "center", "right"]

TextJustification