Skip to content

Commit 388b59a

Browse files
committed
theming and templates clarification
1 parent 85e24bc commit 388b59a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

notebooks/templates.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jupyter:
2222
pygments_lexer: ipython3
2323
version: 3.7.3
2424
plotly:
25-
description: Theming plotly with Python
25+
description: Theming and templates with plotly with Python
2626
v4upgrade: true
2727
---
2828

29-
# Theming
29+
# Theming and templates
3030
The Plotly Python library comes pre-loaded with several themes that you can get started using right away, and it also provides support for creating and registering your own themes.
3131

32+
> Note on terminology: Theming generally refers to the process of defining default styles for visual elements. Themes in plotly are implemented using objects called templates. Templates are slightly more general than traditional themes because in addition to defining default styles, templates can pre-populate a figure with visual elements like annotations, shapes, images, and more. In the documentation we will refer to the overall process of defining default styles as theming, and when in comes to the plotly API we will talk about how themes are implemented using templates.
33+
3234
## Using built-in themes
3335
### View available themes
3436
To see information about the available themes and the current default theme, display the `plotly.io.templates` configuration object like this.

0 commit comments

Comments
 (0)