Skip to content

Commit f4547e3

Browse files
committed
Improve docs
1 parent 75b9d5a commit f4547e3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/api.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ with config.set_options(label_include_units=False):
5757
fig = xpx(da).line()
5858
```
5959

60+
For all other visual customization (themes, colors, default template, etc.),
61+
use Plotly's built-in configuration via `plotly.io`:
62+
63+
```python
64+
import plotly.io as pio
65+
66+
pio.templates.default = "plotly_white"
67+
pio.renderers.default = "notebook"
68+
```
69+
70+
See [Plotly Templates](https://plotly.com/python/templates/) for available options.
71+
6072
::: xarray_plotly.config
6173
options:
6274
show_root_heading: true

0 commit comments

Comments
 (0)