apply_chart_theme
Apply a visual theme (dark, light, or infographic) to a Plotly chart figure, and optionally add callout annotations or shaded highlight zones.
Instructions
Apply visual theme to a chart figure from create_chart().
Themes: 'dark' (data-journalism), 'light' (clean), 'infographic' (large type). Add annotations: [{"text": "...", "x": val, "y": val}] for callouts. Add zones: [{"x_start": val, "x_end": val, "label": "..."}] for highlights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | 'dark', 'light', or 'infographic' | dark |
| figure | Yes | Plotly figure dict from create_chart() | |
| annotations | No | Callout annotations | |
| highlight_zones | No | Shaded highlight regions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||