Skip to content

Commit 47e7ba5

Browse files
committed
to -> in
1 parent 388b59a commit 47e7ba5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

notebooks/templates.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ pio.templates
4343
From this, we can see that the default theme is `"plotly"`, and we can see the names of several additional themes that we can choose from.
4444

4545

46-
### Specifying themes to plotly express
47-
All plotly express functions accept a `template` argument that can be set to the name of a registered theme. Here is an example of using plotly express to build and display the same scatter plot with five different themes.
46+
### Specifying themes in plotly express
47+
All plotly express functions accept a `template` argument that can be set to the name of a registered theme (or to a `Template` object as discussed later in this section). Here is an example of using plotly express to build and display the same scatter plot with five different themes.
4848

4949
```python
5050
import plotly.express as px
@@ -60,8 +60,8 @@ for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn",
6060
fig.show()
6161
```
6262

63-
### Specifying themes to graph object figures
64-
The theme for a particular graph object figure can be specified by setting the `template` property of the figure's `layout` to the name of a registered theme. Here is an example of constructing a surface plot and then displaying it with each of five themes.
63+
### Specifying themes in graph object figures
64+
The theme for a particular graph object figure can be specified by setting the `template` property of the figure's `layout` to the name of a registered theme (or to a `Template` object as discussed later in this section). Here is an example of constructing a surface plot and then displaying it with each of five themes.
6565

6666
```python
6767
import plotly.graph_objects as go

0 commit comments

Comments
 (0)