Skip to content

Commit dbbfad2

Browse files
authored
Change number of themes
1 parent 6ac3f3d commit dbbfad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: python/templates.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ From this, we can see that the default theme is `"plotly"`, and we can see the n
5252

5353

5454
#### Specifying themes in Plotly Express
55-
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.
55+
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 six different themes.
5656

5757
```python
5858
import plotly.express as px
@@ -69,7 +69,7 @@ for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn",
6969
```
7070

7171
#### Specifying themes in graph object figures
72-
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.
72+
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 six themes.
7373

7474
```python
7575
import plotly.graph_objects as go

0 commit comments

Comments
 (0)