File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 5
5
text_representation :
6
6
extension : .md
7
7
format_name : markdown
8
- format_version : " 1.2"
9
- jupytext_version : 1.3.0
8
+ format_version : ' 1.2'
9
+ jupytext_version : 1.3.1
10
10
kernelspec :
11
11
display_name : Python 3
12
12
language : python
@@ -20,9 +20,10 @@ jupyter:
20
20
name : python
21
21
nbconvert_exporter : python
22
22
pygments_lexer : ipython3
23
- version : 3.7.3
23
+ version : 3.6.8
24
24
plotly :
25
- description : A reference for the built-in named continuous (sequential, diverging and cylclical) colorscales in Plotly.
25
+ description : A reference for the built-in named continuous (sequential, diverging
26
+ and cylclical) colorscales in Plotly.
26
27
display_as : file_settings
27
28
has_thumbnail : true
28
29
ipynb : ~notebook_demo/187
@@ -55,8 +56,10 @@ These strings are case-insensitive and you can append `_r` to them to reverse th
55
56
56
57
``` python
57
58
import plotly.express as px
59
+ from textwrap import wrap
58
60
59
- print (" " .join(' {:<12 } ' .format(c) for c in px.colors.named_colorscales()))
61
+ named_colorscales = px.colors.named_colorscales()
62
+ print (" \n " .join(wrap(" " .join(' {:<12 } ' .format(c) for c in named_colorscales), 96 )))
60
63
```
61
64
62
65
### Built-In Sequential Colorscales
You can’t perform that action at this time.
0 commit comments