statsplotly.plot_specifiers package¶
This subpackage defines objects and methods to specify plot properties.
Subpackages¶
- statsplotly.plot_specifiers.color package
ColorSpecifierColorSpecifier.barmodeColorSpecifier.color_limitsColorSpecifier.color_paletteColorSpecifier.coloraxis_referenceColorSpecifier.colorbarColorSpecifier.colormapColorSpecifier.logscaleColorSpecifier.opacityColorSpecifier.build_coloraxis()ColorSpecifier.build_colorbar()ColorSpecifier.build_colorscale()ColorSpecifier.build_from_color_data()ColorSpecifier.check_logscaleColorSpecifier.check_opacityColorSpecifier.convert_datetime_to_timestamp()ColorSpecifier.format_color_data()ColorSpecifier.get_color_hues()ColorSpecifier.cmaxColorSpecifier.cminColorSpecifier.zmaxColorSpecifier.zmin
HistogramColorSpecifierrgb_string_array_from_colormap()set_rgb_alpha()
- statsplotly.plot_specifiers.data package
AggregationSpecifierAggregationSpecifier.aggregated_dimensionAggregationSpecifier.aggregation_funcAggregationSpecifier.data_pointerAggregationSpecifier.data_typesAggregationSpecifier.error_barAggregationSpecifier.check_aggregation_specifierAggregationSpecifier.check_error_barAggregationSpecifier.aggregated_dataAggregationSpecifier.aggregation_plot_dimensionAggregationSpecifier.is_mono_referencedAggregationSpecifier.reference_dataAggregationSpecifier.reference_dimension
AggregationTraceDataAggregationTypeCentralTendencyTypeDataDimensionDataHandlerDataHandler.dataDataHandler.data_pointerDataHandler.slice_logical_indicesDataHandler.slice_orderDataHandler.build_handler()DataHandler.check_header_formatDataHandler.check_pointers_in_dataDataHandler.convert_categorical_dtype_columnsDataHandler.get_data()DataHandler.get_mean()DataHandler.get_median()DataHandler.iter_slices()DataHandler.to_dataframe()DataHandler.data_typesDataHandler.n_slicesDataHandler.slice_levels
DataPointerDataPointer.colorDataPointer.error_xDataPointer.error_yDataPointer.error_zDataPointer.markerDataPointer.opacityDataPointer.shaded_errorDataPointer.sizeDataPointer.slicerDataPointer.textDataPointer.xDataPointer.yDataPointer.zDataPointer.check_missing_dimensionDataPointer.text_identifiers
DataProcessorDataTypesErrorBarTypeHistogramNormTypeNormalizationTypeRegressionTypeSliceTraceTypeTraceData- Submodules
- statsplotly.plot_specifiers.data.statistics module
- statsplotly.plot_specifiers.figure package
HistogramPlotJointplotPlotSharedGridAxisSubplotGridFormatterSubplotGridFormatter.figSubplotGridFormatter.check_common_xaxes_ticks()SubplotGridFormatter.check_common_yaxes_ticks()SubplotGridFormatter.set_common_axis_limit()SubplotGridFormatter.set_common_coloraxis()SubplotGridFormatter.set_suplotgrid_titles()SubplotGridFormatter.tidy_axes()SubplotGridFormatter.tidy_subplots()
create_fig()
- statsplotly.plot_specifiers.layout package
AxesSpecifierAxesSpecifier.axis_formatAxesSpecifier.legendAxesSpecifier.tracesAxesSpecifier.x_rangeAxesSpecifier.y_rangeAxesSpecifier.z_rangeAxesSpecifier.get_axes_range()AxesSpecifier.pad_axis_range()AxesSpecifier.validate_axis_range_formatAxesSpecifier.heightAxesSpecifier.scaleanchorAxesSpecifier.scaleratioAxesSpecifier.widthAxesSpecifier.xaxis_rangeAxesSpecifier.yaxis_rangeAxesSpecifier.zaxis_range
AxisFormatAxisTypeBarModeColoraxisReferenceHistogramBarModeLegendSpecifierLegendSpecifier.axis_typeLegendSpecifier.data_pointerLegendSpecifier.error_barLegendSpecifier.shaded_errorLegendSpecifier.titleLegendSpecifier.x_labelLegendSpecifier.x_transformationLegendSpecifier.y_labelLegendSpecifier.y_transformationLegendSpecifier.z_labelLegendSpecifier.figure_titleLegendSpecifier.x_transformation_legendLegendSpecifier.xaxis_titleLegendSpecifier.y_transformation_legendLegendSpecifier.yaxis_titleLegendSpecifier.zaxis_title
PlotAxisadd_update_menu()adjust_jointplot_legends()set_horizontal_colorbar()
Submodules¶
statsplotly.plot_specifiers.common module¶
statsplotly.plot_specifiers.trace module¶
- pydantic model statsplotly.plot_specifiers.trace.CategoricalPlotSpecifier¶
Bases:
OrientedPlotSpecifier,_TraceSpecifier,_XYTraceValidator- Fields:
- Validators:
validate_model»all fields
- field plot_type: CategoricalPlotType [Required]¶
- Validated by:
- get_category_strip_map(data_handler: DataHandler) dict[DataDimension, dict[str, Any]] | None¶
- validator validate_model » all fields¶
- class statsplotly.plot_specifiers.trace.CategoricalPlotType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- BOX = 'boxplot'¶
- STRIP = 'stripplot'¶
- VIOLIN = 'violinplot'¶
- pydantic model statsplotly.plot_specifiers.trace.HistogramSpecifier¶
Bases:
_TraceSpecifier- Fields:
- Validators:
check_parameter_consistency»all fields
- field central_tendency: CentralTendencyType | None = None¶
- Validated by:
- field data_type: np.dtype[Any] [Required]¶
- Validated by:
- field dimension: DataDimension [Required]¶
- Validated by:
- field histnorm: HistogramNormType [Required]¶
- Validated by:
- validator check_cumulative » cumulative¶
- validator check_parameter_consistency » all fields¶
- pydantic model statsplotly.plot_specifiers.trace.JointplotSpecifier¶
Bases:
_TraceSpecifier- Fields:
- Validators:
- field histogram_specifier: dict[DataDimension, HistogramSpecifier] | None = None¶
- field marginal_plot: MarginalPlotDimension | None = None¶
- field plot_type: JointplotType [Required]¶
- field scatter_specifier: ScatterSpecifier [Required]¶
- Validated by:
- validator check_scatter_specifier » scatter_specifier¶
- class statsplotly.plot_specifiers.trace.JointplotType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- HISTOGRAM = 'histogram'¶
- KDE = 'kde'¶
- SCATTER = 'scatter'¶
- SCATTER_KDE = 'scatter+kde'¶
- X_HISTMAP = 'x_histmap'¶
- Y_HISTMAP = 'y_histmap'¶
- class statsplotly.plot_specifiers.trace.MarginalPlotDimension(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- ALL = 'all'¶
- X = 'x'¶
- Y = 'y'¶
- pydantic model statsplotly.plot_specifiers.trace.OrientedPlotSpecifier¶
Bases:
BaseModel- Fields:
- field prefered_orientation: PlotOrientation | None = None¶
- property anchor_dimension: DataDimension¶
- property anchored_dimension: DataDimension | None¶
- property orientation: PlotOrientation¶
- class statsplotly.plot_specifiers.trace.PlotOrientation(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
- HORIZONTAL = 'horizontal'¶
- VERTICAL = 'vertical'¶