Typings Module
datachart.typings
Module containing the typings.
The typings module contains the typings for all chart components. The module
is intended to contain the typings for easier input value format checkup.
| CLASS | DESCRIPTION |
|---|---|
ChartCommonAttrs |
The chart attributes common to all chart types. |
VLinePlotAttrs |
The vertical line plot attributes. |
HLinePlotAttrs |
The horizontal line plot attributes. |
TextAttrs |
The text annotation attributes. |
LineSingleChartAttrs |
The single chart attributes for the line chart. |
LineDataPointAttrs |
The data point attributes for the line chart. |
StackedAreaSingleChartAttrs |
The single chart attributes for the stacked area chart. |
SankeySingleChartAttrs |
The single chart attributes for the Sankey chart. |
SankeyLinkAttrs |
The link record attributes for the Sankey chart. |
BarSingleChartAttrs |
The single chart attributes for the bar chart. |
BarDataPointAttrs |
The data point attributes for the bar chart. |
HistogramSingleChartAttrs |
The single chart attributes for the histogram chart. |
HistDataPointAttrs |
The data point attributes for the histogram chart. |
HeatmapSingleChartAttrs |
The single chart attributes for the heatmap chart. |
HeatmapDataAttrs |
The data attributes for the heatmap chart. |
HeatmapColorbarAttrs |
The heatmap colorbar attributes. |
ContourSingleChartAttrs |
The single chart attributes for the contour chart. |
ContourDataAttrs |
The data attributes for the contour chart. |
HexbinSingleChartAttrs |
The single chart attributes for the hexbin chart. |
HexbinDataAttrs |
The data attributes for the hexbin chart. |
ScatterSingleChartAttrs |
The single chart attributes for the scatter chart. |
ScatterDataPointAttrs |
The data point attributes for the scatter chart. |
BoxSingleChartAttrs |
The single chart attributes for the box plot. |
BoxDataPointAttrs |
The data point attributes for the box plot. |
SwarmSingleChartAttrs |
The single chart attributes for the swarm plot. |
SwarmDataPointAttrs |
The data point attributes for the swarm plot. |
ViolinSingleChartAttrs |
The single chart attributes for the violin plot. |
ViolinDataPointAttrs |
The data point attributes for the violin plot. |
RaincloudSingleChartAttrs |
The single chart attributes for the raincloud plot. |
RaincloudDataPointAttrs |
The data point attributes for the raincloud plot. |
ParallelCoordsSingleChartAttrs |
The single chart attributes for the parallel coordinates chart. |
ParallelCoordsDataPointAttrs |
The data point attributes for the parallel coordinates chart. |
RadialSingleChartAttrs |
The single chart attributes for the radial chart. |
RadialDataPointAttrs |
The data point attributes for the radial chart. |
StyleAttrs |
The style typing. |
ColorStyleAttrs |
The typing for the general color style. |
FontStyleAttrs |
The typing for the font style. |
AxesStyleAttrs |
The typing for the axes style. |
LegendStyleAttrs |
The typing for the legend style. |
AreaStyleAttrs |
The typing for the area style. |
GridStyleAttrs |
The typing for the grid style. |
LineStyleAttrs |
The typing for the line style. |
StackedAreaStyleAttrs |
The typing for the stacked area chart style. |
SankeyStyleAttrs |
The typing for the Sankey chart style. |
BarStyleAttrs |
The typing for the bar style. |
HistStyleAttrs |
The typing for the histogram style. |
VLineStyleAttrs |
The typing for the vertical line style. |
HLineStyleAttrs |
The typing for the horizontal line style. |
TextStyleAttrs |
The typing for the text annotation style. |
HeatmapStyleAttrs |
The typing for the heatmap style. |
ContourStyleAttrs |
The typing for the contour chart style. |
HexbinStyleAttrs |
The typing for the hexbin chart style. |
ScatterStyleAttrs |
The typing for the scatter chart style. |
RegressionStyleAttrs |
The typing for the regression line style. |
BoxStyleAttrs |
The typing for the box plot style. |
SwarmStyleAttrs |
The typing for the swarm plot style. |
ViolinStyleAttrs |
The typing for the violin plot style. |
RaincloudStyleAttrs |
The typing for the raincloud plot style. |
ParallelCoordsStyleAttrs |
The typing for the parallel coordinates chart style. |
ThemeDefaultAttrs |
The typing for theme-driven defaults and cycles. |
Chart Typings
Common Chart Typings
datachart.typings.ChartCommonAttrs
Bases: TypedDict
The chart attributes common to all chart types.
| ATTRIBUTE | DESCRIPTION |
|---|---|
title |
The title of the charts.
TYPE:
|
xlabel |
The xlabel of the charts.
TYPE:
|
ylabel |
The ylabel of the charts.
TYPE:
|
figsize |
The size of the figure.
TYPE:
|
xmin |
Determine the minimum x-axis value.
TYPE:
|
xmax |
Determine the maximum x-axis value.
TYPE:
|
ymin |
Determine the minimum y-axis value.
TYPE:
|
ymax |
Determine the maximum y-axis value.
TYPE:
|
show_legend |
Whether or not to show the legend.
TYPE:
|
show_grid |
Determine which grid lines to show.
TYPE:
|
aspect_ratio |
The aspect ratio of the charts.
TYPE:
|
subplots |
Whether or not to create a separate subplot for each chart.
TYPE:
|
max_cols |
The maximum number of columns in the subplots. Active only when
TYPE:
|
sharex |
Whether or not to share the x-axis in the subplots. Active only when
TYPE:
|
sharey |
Whether or not to share the y-axis in the subplots. Active only when
TYPE:
|
datachart.typings.VLinePlotAttrs
Bases: TypedDict
The vertical line plot attributes.
| ATTRIBUTE | DESCRIPTION |
|---|---|
x |
The x-axis position of the line.
TYPE:
|
ymin |
The minimum y-axis position value.
TYPE:
|
ymax |
The maximum y-axis position value.
TYPE:
|
style |
The vertical line style attributes.
TYPE:
|
label |
The label of the vertical line.
TYPE:
|
datachart.typings.HLinePlotAttrs
Bases: TypedDict
The horizontal line plot attributes.
| ATTRIBUTE | DESCRIPTION |
|---|---|
y |
The x-axis position of the line.
TYPE:
|
xmin |
The minimum y-axis position value.
TYPE:
|
xmax |
The maximum y-axis position value.
TYPE:
|
style |
The horizontal line style attributes.
TYPE:
|
label |
The label of the horizontal line.
TYPE:
|
datachart.typings.TextAttrs
Bases: TypedDict
The text annotation attributes.
| ATTRIBUTE | DESCRIPTION |
|---|---|
text |
The annotation text.
TYPE:
|
x |
The x-axis position of the text.
TYPE:
|
y |
The y-axis position of the text.
TYPE:
|
coords |
The coordinate system of the text position:
TYPE:
|
target |
The data point the connector points to, always in data coordinates. When present, a connector is drawn from the text to the target.
TYPE:
|
style |
The per-text style attributes.
TYPE:
|
Line Chart Typings
datachart.typings.LineSingleChartAttrs
Bases: TypedDict
The single chart attributes for the line chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the line chart.
TYPE:
|
subtitle |
The subtitle of the line chart. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the line chart.
TYPE:
|
ylabel |
The ylabel of the line chart.
TYPE:
|
style |
The style of the line chart.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
the ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
x |
The key name in
TYPE:
|
y |
The key name in
TYPE:
|
yerr |
The key name in
TYPE:
|
datachart.typings.LineDataPointAttrs
Bases: TypedDict
The data point attributes for the line chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
x |
The x-axis value.
TYPE:
|
y |
The y-axis value.
TYPE:
|
yerr |
The y-axis error value.
TYPE:
|
Bar Chart Typings
datachart.typings.BarSingleChartAttrs
Bases: TypedDict
The single chart attributes for the bar chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the bar chart.
TYPE:
|
subtitle |
The subtitle of the bar chart. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the bar chart.
TYPE:
|
ylabel |
The ylabel of the bar chart.
TYPE:
|
style |
The style of the bar chart.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
the ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
label |
The key name in
TYPE:
|
y |
The key name in
TYPE:
|
yerr |
The key name in
TYPE:
|
datachart.typings.BarDataPointAttrs
Bases: TypedDict
The data point attributes for the bar chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
label |
The label.
TYPE:
|
y |
The y-axis value.
TYPE:
|
yerr |
The y-axis error value.
TYPE:
|
Histogram Typings
datachart.typings.HistogramSingleChartAttrs
Bases: TypedDict
The single chart attributes for the histogram chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the histogram chart.
TYPE:
|
subtitle |
The subtitle of the histogram chart. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the histogram chart.
TYPE:
|
ylabel |
The ylabel of the histogram chart.
TYPE:
|
style |
The style of the histogram chart.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
the ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
x |
The key name in
TYPE:
|
datachart.typings.HistDataPointAttrs
Bases: TypedDict
The data point attributes for the histogram chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
x |
The x-axis value.
TYPE:
|
Heatmap Typings
datachart.typings.HeatmapSingleChartAttrs
Bases: TypedDict
The single chart attributes for the heatmap chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The labelled grid defining the heatmap chart.
TYPE:
|
subtitle |
The subtitle of the heatmap chart. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the heatmap chart.
TYPE:
|
ylabel |
The ylabel of the heatmap chart.
TYPE:
|
style |
The style of the heatmap chart.
TYPE:
|
norm |
The value normalization.
TYPE:
|
vmin |
The minimum value to normalize the data points.
TYPE:
|
vmax |
The maximum value to normalize the data points.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
the ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
colorbar |
The heatmap colorbar attributes.
TYPE:
|
texts |
The text annotations to be drawn. |
datachart.typings.HeatmapDataAttrs
Bases: TypedDict
The data attributes for the heatmap chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
x |
The column labels, one per column of
TYPE:
|
y |
The row labels, one per row of
TYPE:
|
z |
The 2-D grid of cell values, one row per
TYPE:
|
datachart.typings.HeatmapColorbarAttrs
Bases: TypedDict
The heatmap colorbar attributes.
| ATTRIBUTE | DESCRIPTION |
|---|---|
orientation |
The orientation.
TYPE:
|
Scatter Chart Typings
datachart.typings.ScatterSingleChartAttrs
Bases: TypedDict
The single chart attributes for the scatter chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the scatter chart.
TYPE:
|
subtitle |
The subtitle of the scatter chart. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the scatter chart.
TYPE:
|
ylabel |
The ylabel of the scatter chart.
TYPE:
|
style |
The style of the scatter chart.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
The ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
x |
The key name in
TYPE:
|
y |
The key name in
TYPE:
|
size |
The key name in
TYPE:
|
hue |
The key name in
TYPE:
|
datachart.typings.ScatterDataPointAttrs
Bases: TypedDict
The data point attributes for the scatter chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
x |
The x-axis value.
TYPE:
|
y |
The y-axis value.
TYPE:
|
size |
The marker size (for bubble charts).
TYPE:
|
hue |
The category for color grouping.
TYPE:
|
Box Chart (Box Plot) Typings
datachart.typings.BoxSingleChartAttrs
Bases: TypedDict
The single chart attributes for the box plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the box plot.
TYPE:
|
subtitle |
The subtitle of the box plot. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the box plot.
TYPE:
|
ylabel |
The ylabel of the box plot.
TYPE:
|
style |
The style of the box plot.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
The ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
label |
The key name in
TYPE:
|
value |
The key name in
TYPE:
|
datachart.typings.BoxDataPointAttrs
Bases: TypedDict
The data point attributes for the box plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
label |
The category label.
TYPE:
|
value |
The numeric value.
TYPE:
|
Swarm Plot Typings
datachart.typings.SwarmSingleChartAttrs
Bases: TypedDict
The single chart attributes for the swarm plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the swarm plot.
TYPE:
|
subtitle |
The subtitle of the swarm plot. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the swarm plot.
TYPE:
|
ylabel |
The ylabel of the swarm plot.
TYPE:
|
style |
The style of the swarm plot.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
The ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
label |
The key name in
TYPE:
|
value |
The key name in
TYPE:
|
datachart.typings.SwarmDataPointAttrs
Bases: TypedDict
The data point attributes for the swarm plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
label |
The category label.
TYPE:
|
value |
The numeric value.
TYPE:
|
Violin Plot Typings
datachart.typings.ViolinSingleChartAttrs
Bases: TypedDict
The single chart attributes for the violin plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the violin plot.
TYPE:
|
subtitle |
The subtitle of the violin plot. Also used as the label in the legend.
TYPE:
|
xlabel |
The xlabel of the violin plot.
TYPE:
|
ylabel |
The ylabel of the violin plot.
TYPE:
|
style |
The style of the violin plot.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
The ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
label |
The key name in
TYPE:
|
value |
The key name in
TYPE:
|
datachart.typings.ViolinDataPointAttrs
Bases: TypedDict
The data point attributes for the violin plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
label |
The category label.
TYPE:
|
value |
The numeric value.
TYPE:
|
Raincloud Plot Typings
datachart.typings.RaincloudSingleChartAttrs
Bases: TypedDict
The single chart attributes for the raincloud plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the raincloud plot.
TYPE:
|
subtitle |
The subtitle of the raincloud plot.
TYPE:
|
xlabel |
The xlabel of the raincloud plot.
TYPE:
|
ylabel |
The ylabel of the raincloud plot.
TYPE:
|
style |
The style of the raincloud plot.
TYPE:
|
xticks |
The xtick positions list.
TYPE:
|
xticklabels |
The xtick labels.
TYPE:
|
xtickrotate |
The xtick rotation value.
TYPE:
|
yticks |
The ytick position list.
TYPE:
|
yticklabels |
The ytick labels.
TYPE:
|
ytickrotate |
The ytick rotation value.
TYPE:
|
vlines |
The vertical lines to be plot.
TYPE:
|
hlines |
The horizontal lines to be plot.
TYPE:
|
texts |
The text annotations to be drawn. |
label |
The key name in
TYPE:
|
value |
The key name in
TYPE:
|
datachart.typings.RaincloudDataPointAttrs
Bases: TypedDict
The data point attributes for the raincloud plot.
| ATTRIBUTE | DESCRIPTION |
|---|---|
label |
The category label.
TYPE:
|
value |
The numeric value.
TYPE:
|
Parallel Coordinates Plot Typings
datachart.typings.ParallelCoordsSingleChartAttrs
Bases: TypedDict
The single chart attributes for the parallel coordinates chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points.
TYPE:
|
subtitle |
The subtitle of the chart.
TYPE:
|
xlabel |
The xlabel of the chart.
TYPE:
|
ylabel |
The ylabel of the chart.
TYPE:
|
style |
The style of the chart.
TYPE:
|
dimensions |
The dimensions to include and their order.
TYPE:
|
hue |
The key name in
TYPE:
|
category_orders |
Custom order for categorical dimensions.
TYPE:
|
texts |
The text annotations to be drawn. |
datachart.typings.ParallelCoordsDataPointAttrs
Bases: TypedDict
The data point attributes for the parallel coordinates chart.
A dictionary where keys are dimension names and values are numeric values. Can optionally include a 'hue' key for categorical coloring.
| ATTRIBUTE | DESCRIPTION |
|---|---|
hue |
The category for color grouping.
TYPE:
|
Radial Chart Typings
datachart.typings.RadialSingleChartAttrs
Bases: TypedDict
The single chart attributes for the radial chart.
| ATTRIBUTE | DESCRIPTION |
|---|---|
data |
The list of data points defining the radial chart.
TYPE:
|
subtitle |
The subtitle of the radial chart. Also used as the label in the legend.
TYPE:
|
style |
The style of the radial chart, matching its visual.
TYPE:
|
texts |
The text annotations to be drawn. |
label |
The key name in
TYPE:
|
x |
The key name in
TYPE:
|
y |
The key name in
TYPE:
|
yerr |
The key name in
TYPE:
|
datachart.typings.RadialDataPointAttrs
Bases: TypedDict
The data point attributes for the radial chart.
The line, bar, and scatter visuals take label/y points whose labels
are placed evenly around the circle; the histogram visual takes numeric
x observations in degrees.
| ATTRIBUTE | DESCRIPTION |
|---|---|
label |
The category label (line, bar, and scatter visuals).
TYPE:
|
y |
The radial value (line, bar, and scatter visuals).
TYPE:
|
yerr |
The radial error value.
TYPE:
|
x |
The angular observation in degrees (histogram visual).
TYPE:
|
Style Typings
datachart.typings.StyleAttrs
Bases: ColorStyleAttrs, FontStyleAttrs, AxesStyleAttrs, LegendStyleAttrs, AreaStyleAttrs, GridStyleAttrs, LineStyleAttrs, StackedAreaStyleAttrs, SankeyStyleAttrs, BarStyleAttrs, HistStyleAttrs, VLineStyleAttrs, HLineStyleAttrs, TextStyleAttrs, HeatmapStyleAttrs, ContourStyleAttrs, HexbinStyleAttrs, ScatterStyleAttrs, RegressionStyleAttrs, BoxStyleAttrs, SwarmStyleAttrs, ViolinStyleAttrs, ParallelCoordsStyleAttrs, ThemeDefaultAttrs
The style attributes. Combines all style typings.
datachart.typings.ColorStyleAttrs
Bases: TypedDict
The typing for the general color style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
color_general_singular |
The general color for the singular-typed charts.
TYPE:
|
color_general_multiple |
The general color for the multiple-typed charts (palette name or list of hex colors).
TYPE:
|
color_parallel_hue |
The color palette for parallel coords hue categories (palette name or list of hex colors).
TYPE:
|
color_parallel_hue_continuous |
The sequential ramp for parallel coords numeric hue columns (palette name or list of hex colors).
TYPE:
|
muted_color |
The color applied to background-emphasis layers.
TYPE:
|
muted_alpha |
The alpha applied to background-emphasis layers.
TYPE:
|
datachart.typings.FontStyleAttrs
Bases: TypedDict
The typing for the font style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
font_general_family |
The general font family.
TYPE:
|
font_general_sansserif |
The general sans-serif font.
TYPE:
|
font_general_serif |
The general serif font stack, used when the family is "serif".
TYPE:
|
font_general_color |
The general font color.
TYPE:
|
font_general_size |
The general font size.
TYPE:
|
font_general_style |
The general font style.
TYPE:
|
font_general_weight |
The general font weight.
TYPE:
|
font_title_size |
The title font size.
TYPE:
|
font_title_color |
The title font color.
TYPE:
|
font_title_style |
The title font style.
TYPE:
|
font_title_weight |
The title font weight.
TYPE:
|
font_subtitle_size |
The subtitle font size.
TYPE:
|
font_subtitle_color |
The subtitle font color.
TYPE:
|
font_subtitle_style |
The subtitle font style.
TYPE:
|
font_subtitle_weight |
The subtitle font weight.
TYPE:
|
font_xlabel_size |
The xlabel font size.
TYPE:
|
font_xlabel_color |
The xlabel font color.
TYPE:
|
font_xlabel_style |
The xlabel font style.
TYPE:
|
font_xlabel_weight |
The xlabel font weight.
TYPE:
|
font_ylabel_size |
The ylabel font size.
TYPE:
|
font_ylabel_color |
The ylabel font color.
TYPE:
|
font_ylabel_style |
The ylabel font style.
TYPE:
|
font_ylabel_weight |
The ylabel font weight.
TYPE:
|
datachart.typings.AxesStyleAttrs
Bases: TypedDict
The typing for the axes style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
axes_spines_top_visible |
Make the top plot spine visible.
TYPE:
|
axes_spines_right_visible |
Make the right plot spine visible.
TYPE:
|
axes_spines_bottom_visible |
Make the bottom plot spine visible.
TYPE:
|
axes_spines_left_visible |
Make the left plot spine visible.
TYPE:
|
axes_spines_width |
The width of the spines.
TYPE:
|
axes_spines_zorder |
The zorder of the spines.
TYPE:
|
axes_ticks_length |
The length of the ticks.
TYPE:
|
axes_ticks_label_size |
The size of the tick labels.
TYPE:
|
datachart.typings.LegendStyleAttrs
Bases: TypedDict
The typing for the legend style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_legend_shadow |
Show the legends shadow.
TYPE:
|
plot_legend_frameon |
Show the legends frame.
TYPE:
|
plot_legend_alignment |
The legend alignment.
TYPE:
|
plot_legend_location |
The legend location.
TYPE:
|
plot_legend_font_size |
The font size within the legend.
TYPE:
|
plot_legend_title_size |
The title size of the legend.
TYPE:
|
plot_legend_label_color |
The label color of the legend.
TYPE:
|
datachart.typings.AreaStyleAttrs
Bases: TypedDict
The typing for the area style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_area_alpha |
The alpha value of the area.
TYPE:
|
plot_area_color |
The color of the area.
TYPE:
|
plot_area_linewidth |
The line width of the area.
TYPE:
|
plot_area_hatch |
The hatch style of the area.
TYPE:
|
plot_area_zorder |
The zorder of the area.
TYPE:
|
datachart.typings.GridStyleAttrs
Bases: TypedDict
The typing for the grid style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_grid_alpha |
The alpha value of the grid.
TYPE:
|
plot_grid_color |
The color of the grid.
TYPE:
|
plot_grid_linewidth |
The line width of the grid.
TYPE:
|
plot_grid_linestyle |
The line style of the grid.
TYPE:
|
plot_grid_zorder |
The zorder of the grid.
TYPE:
|
datachart.typings.LineStyleAttrs
Bases: TypedDict
The typing for the line chart style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_line_color |
The line color.
TYPE:
|
plot_line_alpha |
The alpha value of the line.
TYPE:
|
plot_line_style |
The line style.
TYPE:
|
plot_line_marker |
The line marker.
TYPE:
|
plot_line_width |
The line width.
TYPE:
|
plot_line_drawstyle |
The line draw style.
TYPE:
|
plot_line_zorder |
The zorder of the line.
TYPE:
|
plot_xticks_label_rotate |
The label rotation of the xticks in the line chart.
TYPE:
|
plot_yticks_label_rotate |
The label rotation of the yticks in the line chart.
TYPE:
|
datachart.typings.BarStyleAttrs
Bases: TypedDict
The typing for the bar chart style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_bar_color |
The bar color.
TYPE:
|
plot_bar_alpha |
The alpha value of the bar.
TYPE:
|
plot_bar_width |
The width of the bar.
TYPE:
|
plot_bar_zorder |
The zorder of the bar.
TYPE:
|
plot_bar_hatch |
The hatch style of the bar.
TYPE:
|
plot_bar_edge_width |
The edge width of the bar.
TYPE:
|
plot_bar_edge_color |
The edge color of the bar.
TYPE:
|
plot_bar_error_color |
The color of the error line of the bar.
TYPE:
|
plot_bar_value_fontsize |
The font size of the bar value labels.
TYPE:
|
plot_bar_value_color |
The color of the bar value labels.
TYPE:
|
plot_bar_value_padding |
The padding between bar edge and value label.
TYPE:
|
plot_xticks_label_rotate |
The label rotation of the xticks in the bar chart.
TYPE:
|
plot_yticks_label_rotate |
The label rotation of the yticks in the bar chart.
TYPE:
|
datachart.typings.HistStyleAttrs
Bases: TypedDict
The typing for the histogram chart style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_hist_color |
The color of the histogram.
TYPE:
|
plot_hist_alpha |
The alpha value of the histogram.
TYPE:
|
plot_hist_zorder |
The zorder of the histogram.
TYPE:
|
plot_hist_fill |
The fill of the histogram.
TYPE:
|
plot_hist_hatch |
The hatch style in the histogram.
TYPE:
|
plot_hist_type |
The type of the histogram.
TYPE:
|
plot_hist_align |
The alignment of the histogram.
TYPE:
|
plot_hist_edge_width |
The edge width of the histogram.
TYPE:
|
plot_hist_edge_color |
The edge color of the histogram.
TYPE:
|
plot_xticks_label_rotate |
The label rotation of the xticks in the histogram chart.
TYPE:
|
plot_yticks_label_rotate |
The label rotation of the yticks in the histogram chart.
TYPE:
|
datachart.typings.VLineStyleAttrs
Bases: TypedDict
The typing for the vertical line style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_vline_color |
The color of the vertical line.
TYPE:
|
plot_vline_style |
The style of the vertical line.
TYPE:
|
plot_vline_width |
The width of the vertical line.
TYPE:
|
plot_vline_alpha |
The alpha value of the vertical line.
TYPE:
|
datachart.typings.HLineStyleAttrs
Bases: TypedDict
The typing for the horizontal line style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_hline_color |
The color of the horizontal line.
TYPE:
|
plot_hline_style |
The style of the horizontal line.
TYPE:
|
plot_hline_width |
The width of the horizontal line.
TYPE:
|
plot_hline_alpha |
The alpha value of the horizontal line.
TYPE:
|
datachart.typings.TextStyleAttrs
Bases: TypedDict
The typing for the text annotation style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_text_color |
The text color; falls back to the general font color.
TYPE:
|
plot_text_size |
The text font size.
TYPE:
|
plot_text_weight |
The text font weight.
TYPE:
|
plot_text_halign |
The horizontal alignment of the text.
TYPE:
|
plot_text_valign |
The vertical alignment of the text.
TYPE:
|
plot_text_alpha |
The alpha value of the text.
TYPE:
|
plot_text_box_visible |
Whether to draw the background box.
TYPE:
|
plot_text_box_style |
The matplotlib box style (e.g.
TYPE:
|
plot_text_box_facecolor |
The face color of the box.
TYPE:
|
plot_text_box_edgecolor |
The edge color of the box.
TYPE:
|
plot_text_box_edge_width |
The edge width of the box.
TYPE:
|
plot_text_box_alpha |
The alpha value of the box.
TYPE:
|
plot_text_arrow_style |
The connector look (see
TYPE:
|
plot_text_arrow_curve |
The connector curvature; overrides the look's own.
TYPE:
|
plot_text_arrow_color |
The connector color.
TYPE:
|
plot_text_arrow_width |
The connector line width.
TYPE:
|
datachart.typings.HeatmapStyleAttrs
Bases: TypedDict
The typing for the heatmap chart style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_heatmap_cmap |
The color map of the heatmap (palette name, list of hex colors, or colormap).
TYPE:
|
plot_heatmap_alpha |
The alpha value of the heatmap.
TYPE:
|
plot_heatmap_font_size |
The font size of the heatmap.
TYPE:
|
plot_heatmap_font_color |
The font color of the heatmap.
TYPE:
|
plot_heatmap_font_style |
The font style of the heatmap.
TYPE:
|
plot_heatmap_font_weight |
The font weight of the heatmap.
TYPE:
|
plot_heatmap_frame_color |
The color of the frame always drawn around heatmap axes.
TYPE:
|
plot_heatmap_edge_width |
The width of the borders drawn between the cells (0 draws none).
TYPE:
|
plot_heatmap_edge_color |
The color of the borders drawn between the cells.
TYPE:
|
datachart.typings.ScatterStyleAttrs
Bases: TypedDict
The typing for the scatter chart style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_scatter_color |
The scatter marker color.
TYPE:
|
plot_scatter_alpha |
The alpha value of the markers.
TYPE:
|
plot_scatter_size |
The marker size.
TYPE:
|
plot_scatter_marker |
The marker shape.
TYPE:
|
plot_scatter_zorder |
The zorder of the scatter.
TYPE:
|
plot_scatter_edge_width |
The edge width of markers.
TYPE:
|
plot_scatter_edge_color |
The edge color of markers.
TYPE:
|
datachart.typings.RegressionStyleAttrs
Bases: TypedDict
The typing for regression line style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_regression_color |
The regression line color.
TYPE:
|
plot_regression_alpha |
The alpha of the regression line.
TYPE:
|
plot_regression_width |
The line width.
TYPE:
|
plot_regression_style |
The line style.
TYPE:
|
plot_regression_ci_alpha |
Confidence interval alpha.
TYPE:
|
datachart.typings.BoxStyleAttrs
Bases: TypedDict
The typing for the box plot style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_box_color |
The box fill color.
TYPE:
|
plot_box_alpha |
The alpha value of the box.
TYPE:
|
plot_box_linewidth |
The line width of the box.
TYPE:
|
plot_box_edgecolor |
The edge color of the box.
TYPE:
|
plot_box_outlier_marker |
The outlier marker style.
TYPE:
|
plot_box_outlier_size |
The outlier marker size.
TYPE:
|
plot_box_outlier_color |
The outlier marker color.
TYPE:
|
plot_box_outlier_edge_color |
The outlier marker edge color.
TYPE:
|
plot_box_median_color |
The median line color.
TYPE:
|
plot_box_median_linewidth |
The median line width.
TYPE:
|
plot_box_whisker_color |
The whisker line color.
TYPE:
|
plot_box_whisker_linewidth |
The whisker line width.
TYPE:
|
plot_box_cap_color |
The cap line color.
TYPE:
|
plot_box_cap_linewidth |
The cap line width.
TYPE:
|
plot_xticks_label_rotate |
The label rotation of the xticks.
TYPE:
|
plot_yticks_label_rotate |
The label rotation of the yticks.
TYPE:
|
datachart.typings.SwarmStyleAttrs
Bases: TypedDict
The typing for the swarm plot style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_swarm_color |
The point color.
TYPE:
|
plot_swarm_alpha |
The alpha value of the points.
TYPE:
|
plot_swarm_size |
The point size.
TYPE:
|
plot_swarm_marker |
The point marker shape.
TYPE:
|
plot_swarm_zorder |
The zorder of the points.
TYPE:
|
plot_swarm_edge_width |
The edge width of the points.
TYPE:
|
plot_swarm_edge_color |
The edge color of the points.
TYPE:
|
datachart.typings.ViolinStyleAttrs
Bases: TypedDict
The typing for the violin plot style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_violin_color |
The violin fill color.
TYPE:
|
plot_violin_alpha |
The alpha value of the violin body.
TYPE:
|
plot_violin_linewidth |
The line width of the body edge.
TYPE:
|
plot_violin_edgecolor |
The edge color of the body; defaults to the fill.
TYPE:
|
plot_violin_width |
The maximum width of the body.
TYPE:
|
plot_violin_inner_color |
The color of the inner marks; defaults to the font color.
TYPE:
|
plot_violin_inner_linewidth |
The line width of the inner marks.
TYPE:
|
plot_violin_median_color |
The color of the median dot.
TYPE:
|
plot_violin_median_size |
The size of the median dot.
TYPE:
|
datachart.typings.RaincloudStyleAttrs
Bases: ViolinStyleAttrs, SwarmStyleAttrs, BoxStyleAttrs
The typing for the raincloud plot style.
The union of the violin (cloud), swarm (rain), and box style keys; each key styles its own part of the raincloud.
datachart.typings.ParallelCoordsStyleAttrs
Bases: TypedDict
The typing for the parallel coordinates chart style.
| ATTRIBUTE | DESCRIPTION |
|---|---|
plot_parallel_color |
The line color.
TYPE:
|
plot_parallel_alpha |
The alpha value of the lines.
TYPE:
|
plot_parallel_width |
The line width.
TYPE:
|
plot_parallel_style |
The line style.
TYPE:
|
plot_parallel_marker |
The marker style for data points.
TYPE:
|
plot_parallel_zorder |
The draw order of data lines.
TYPE:
|
plot_parallel_axis_color |
The vertical axis line color.
TYPE:
|
plot_parallel_axis_width |
The vertical axis line width.
TYPE:
|
plot_parallel_axis_zorder |
The vertical axis line draw order.
TYPE:
|
plot_parallel_tick_color |
The tick mark color.
TYPE:
|
plot_parallel_tick_width |
The tick mark line width.
TYPE:
|
plot_parallel_tick_length |
The tick mark length.
TYPE:
|
plot_parallel_tick_label_size |
The tick label font size.
TYPE:
|
plot_parallel_tick_label_color |
The tick label font color.
TYPE:
|
plot_parallel_tick_label_bg_color |
The tick label background color.
TYPE:
|
plot_parallel_tick_label_bg_alpha |
The tick label background alpha.
TYPE:
|
plot_parallel_dim_label_size |
The dimension label font size.
TYPE:
|
plot_parallel_dim_label_color |
The dimension label font color.
TYPE:
|
plot_parallel_dim_label_rotation |
The dimension label rotation.
TYPE:
|
plot_parallel_dim_label_pad |
The dimension label padding from axis.
TYPE:
|
datachart.typings.ThemeDefaultAttrs
Bases: TypedDict
The typing for theme-driven defaults and cycles.
| ATTRIBUTE | DESCRIPTION |
|---|---|
chart_default_show_grid |
The theme default
for
TYPE:
|
chart_default_show_values |
The theme default for
TYPE:
|
plot_hatch_cycle |
The hatch patterns assigned
per bar/histogram series, parallel to the color cycle. An explicit
per-chart hatch style wins.
TYPE:
|