Skip to content

Commit

Permalink
doc: tweak default spec example
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Sep 10, 2024
1 parent 0c8be07 commit f62b109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/usage.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ from pyobsplot.utils import ALLOWED_DEFAULTS
print(ALLOWED_DEFAULTS)
```

So to create a plot generator object that creates by default 400px wide plots with a 50px margin and white on blue colors with a dark theme, you could use :
So to create a plot generator object that creates by default 400px wide plots with a 50px margin and a dark theme with blue color, you could use :


```{python}
Expand All @@ -362,7 +362,7 @@ op_colors = Obsplot(
default={
"width": 400,
"margin": 50,
"style": {"color": "#F98329"}
"style": {"color": "#54A4C4"}
}
)
```
Expand Down

0 comments on commit f62b109

Please sign in to comment.