Skip to content

Commit 052c249

Browse files
Update discrete-color.md
1 parent 3b6be8b commit 052c249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/discrete-color.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ To run the app below, run `pip install dash`, click "Download" to get the code a
107107

108108
Get started now with [the official docs](https://dash.plotly.com/installation) and learn how you can effortlessly [style](https://plotly.com/dash/design-kit/) and [deploy](https://plotly.com/dash/app-manager/) apps like this with [Dash Enterprise](https://plotly.com/dash/).
109109

110-
```python
110+
```python hide_code=true
111111
from IPython.display import IFrame
112112
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
113113
IFrame(snippet_url + 'discrete-color', width='100%', height=630)
@@ -117,7 +117,7 @@ IFrame(snippet_url + 'discrete-color', width='100%', height=630)
117117

118118
By default, Plotly Express will use the color sequence from the active [template](/python/templates/)'s `layout.colorway` attribute, and the default active template is `plotly` which uses the `plotly` color sequence. You can choose any of the following built-in qualitative color sequences from the `px.colors.qualitative` module, however, or define your own.
119119

120-
```python hide_code=true
120+
```python
121121
import plotly.express as px
122122

123123
fig = px.colors.qualitative.swatches()

0 commit comments

Comments
 (0)