statsplotly.plot_specifiers.layout package¶
This subpackage defines objects and utility methods for layout properties.
- pydantic model statsplotly.plot_specifiers.layout.AxesSpecifier¶
Bases:
BaseModel
- Fields:
axis_format (statsplotly.plot_specifiers.layout._core.AxisFormat | None)
legend (statsplotly.plot_specifiers.layout._core.LegendSpecifier)
traces (list[statsplotly.plot_specifiers.data._core.TraceData])
x_range (list[float | str] | None)
y_range (list[float | str] | None)
z_range (list[float | str] | None)
- Validators:
validate_axis_range_format
»x_range
validate_axis_range_format
»y_range
validate_axis_range_format
»z_range
- field axis_format: AxisFormat | None = None¶
- field legend: LegendSpecifier [Required]¶
- validator validate_axis_range_format » x_range, y_range, z_range¶
- class statsplotly.plot_specifiers.layout.AxisFormat(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- EQUAL = 'equal'¶
- FIXED_RATIO = 'fixed_ratio'¶
- ID_LINE = 'id_line'¶
- SQUARE = 'square'¶
- class statsplotly.plot_specifiers.layout.AxisType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- THREE_DIMENSIONAL = 'three_dimensional'¶
- TWO_DIMENSIONAL = 'two_dimensional'¶
- class statsplotly.plot_specifiers.layout.BarMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- GROUP = 'group'¶
- OVERLAY = 'overlay'¶
- RELATIVE = 'relative'¶
- STACK = 'stack'¶
- class statsplotly.plot_specifiers.layout.ColoraxisReference(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- MAIN_COLORAXIS = 'coloraxis'¶
- class statsplotly.plot_specifiers.layout.HistogramBarMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- OVERLAY = 'overlay'¶
- STACK = 'stack'¶
- pydantic model statsplotly.plot_specifiers.layout.LegendSpecifier¶
Bases:
BaseModel
- Fields:
axis_type (statsplotly.plot_specifiers.layout._core.AxisType | None)
data_pointer (statsplotly.plot_specifiers.data._core.DataPointer)
error_bar (str | None)
shaded_error (str | None)
title (str | None)
x_label (str | None)
x_transformation (statsplotly.plot_specifiers.data._core.AggregationType | statsplotly.plot_specifiers.data._core.HistogramNormType | None)
y_label (str | None)
y_transformation (statsplotly.plot_specifiers.data._core.AggregationType | statsplotly.plot_specifiers.data._core.HistogramNormType | None)
z_label (str | None)
- field data_pointer: DataPointer [Required]¶
- field x_transformation: AggregationType | HistogramNormType | None = None¶
- field y_transformation: AggregationType | HistogramNormType | None = None¶
- class statsplotly.plot_specifiers.layout.PlotAxis(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- COLORAXIS = 'coloraxis'¶
- XAXIS = 'xaxis'¶
- YAXIS = 'yaxis'¶