vuecore.engines.plotly.theming module#
- vuecore.engines.plotly.theming.apply_bar_theme(fig: Figure, config: BarConfig) Figure[source]#
Applies a consistent layout and theme to a Plotly bar plot.
This function handles all styling and layout adjustments, such as titles, dimensions, templates, and trace properties, separating these concerns from the initial data mapping.
- Parameters:
fig (go.Figure) – The Plotly figure object to be styled.
config (BarConfig) – The configuration object containing all styling and layout info.
- Returns:
The styled Plotly figure object.
- Return type:
go.Figure
- vuecore.engines.plotly.theming.apply_box_theme(fig: Figure, config: BoxConfig) Figure[source]#
Applies a consistent layout and theme to a Plotly box plot.
This function handles all styling and layout adjustments, such as titles, dimensions, templates, and trace properties, separating these concerns from the initial data mapping.
- Parameters:
fig (go.Figure) – The Plotly figure object to be styled.
config (BoxConfig) – The configuration object containing all styling and layout info.
- Returns:
The styled Plotly figure object.
- Return type:
go.Figure
- vuecore.engines.plotly.theming.apply_histogram_theme(fig: Figure, config: HistogramConfig) Figure[source]#
Applies a consistent layout and theme to a Plotly histogram plot.
This function handles all styling and layout adjustments, such as titles, dimensions, templates, and trace properties, separating these concerns from the initial data mapping.
- Parameters:
fig (go.Figure) – The Plotly figure object to be styled.
config (HistogramConfig) – The configuration object containing all styling and layout info.
- Returns:
The styled Plotly figure object.
- Return type:
go.Figure
- vuecore.engines.plotly.theming.apply_line_theme(fig: Figure, config: LineConfig) Figure[source]#
Applies a consistent layout and theme to a Plotly line plot.
This function handles all styling and layout adjustments, such as titles, dimensions, templates, and trace properties, separating these concerns from the initial data mapping.
- Parameters:
fig (go.Figure) – The Plotly figure object to be styled.
config (LineConfig) – The configuration object containing all styling and layout info.
- Returns:
The styled Plotly figure object.
- Return type:
go.Figure
- vuecore.engines.plotly.theming.apply_scatter_theme(fig: Figure, config: ScatterConfig) Figure[source]#
Applies a consistent layout and theme to a Plotly scatter plot.
This function handles all styling and layout adjustments, such as titles, dimensions, templates, and trace properties, separating these concerns from the initial data mapping.
- Parameters:
fig (go.Figure) – The Plotly figure object to be styled.
config (ScatterConfig) – The configuration object containing all styling and layout info.
- Returns:
The styled Plotly figure object.
- Return type:
go.Figure
- vuecore.engines.plotly.theming.apply_violin_theme(fig: Figure, config: ViolinConfig) Figure[source]#
Applies a consistent layout and theme to a Plotly violin plot.
This function handles all styling and layout adjustments, such as titles, dimensions, templates, and trace properties, separating these concerns from the initial data mapping.
- Parameters:
fig (go.Figure) – The Plotly figure object to be styled.
config (ViolinConfig) – The configuration object containing all styling and layout info.
- Returns:
The styled Plotly figure object.
- Return type:
go.Figure