Skip to main content

Variables

  • colors: Blockforce Capital Theme for Plotly Visualizations.

init_theme

init_theme()
Initialize and register the Blockforce Capital theme with Plotly and vectorbtpro. This function sets up the theme with the Blockforce color palette, layout defaults, and trace styles for consistent visualizations across the platform.

get_colors

get_colors()
Blockforce Capital color palette. This function provides access to the color palette used in the Blockforce theme, allowing for custom visualizations or external use. Returns:
TypeDescription
dictA dictionary containing the Blockforce color palette.

create_test_dashboard

create_test_dashboard() ‑> plotly.graph_objs._figure.Figure
Create a test dashboard with various plot types to demonstrate the theme. This function generates a sample dashboard using the Blockforce theme, showcasing different types of visualizations including line charts, pie charts, bar charts, histograms, and heatmaps. Returns:
TypeDescription
go.FigureA Plotly Figure object containing the test dashboard.