Typing Information – plotnine 0.15.3
Protocols
DataFrameConvertible
Object that can be converted to a DataFrame
Methods
to_pandas
Convert to pandas dataframe
Returns
PTransform
Transform function
Methods
__call__
Type Variables
TFloatArrayLike
Type Aliases
AnyArray
BoolArray
FloatArray
IntArray
StrArray
AnySeries
IntSeries
FloatSeries
AnyArrayLike
IntArrayLike
FloatArrayLike
Data
DataLike
LayerData
LayerDataLike
ColorLike
ColorsLike
FigureFormat
Literal["png", "retina", "jpeg", "jpg", "svg", "pdf"]
FacetSpaceRatios
StripPosition
ScaledAestheticsName
Literal[
"x",
"xmin",
"xmax",
"xend",
"xintercept",
"y",
"ymin",
"ymax",
"yend",
"yintercept",
"alpha",
"color",
"colour",
"fill",
"linetype",
"shape",
"size",
"stroke",
# boxplot
"ymax_final",
"ymin_final",
"lower",
"middle",
"upper",
]
CoordRange
Side
Literal["left", "right", "top", "bottom"]
LegendPosition
Orientation
Literal["horizontal", "vertical"]
GuideKind
Literal["legend", "colorbar", "colourbar"]
NoGuide
VerticalJustification
Literal["bottom", "center", "top"]
HorizontalJustification
Literal["left", "center", "right"]