Skip to content

Commit 91cce41

Browse files
committed
Revert unintentional changes to plotly express notebook
1 parent 173840a commit 91cce41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/plotly-express.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jupyter:
2020
name: python
2121
nbconvert_exporter: python
2222
pygments_lexer: ipython3
23-
version: 3.7.3
23+
version: 3.6.7
2424
plotly:
2525
description: Plotly Express is a terse, consistent, high-level API for rapid data
2626
exploration and figure generation.
@@ -137,8 +137,8 @@ fig.show()
137137
```python
138138
import plotly.express as px
139139
tips = px.data.tips()
140-
fig = px.scatter(tips, x="total_bill", y="tip", color="size", facet_row="sex",
141-
color_continuous_scale=px.colors.sequential.Viridis, render_mode="webgl", marginal_y='histogram')
140+
fig = px.scatter(tips, x="total_bill", y="tip", color="size", facet_col="sex",
141+
color_continuous_scale=px.colors.sequential.Viridis, render_mode="webgl")
142142
fig.show()
143143
```
144144

@@ -186,7 +186,7 @@ fig.show()
186186
```python
187187
import plotly.express as px
188188
iris = px.data.iris()
189-
fig = px.density_contour(iris, x="sepal_width", y="sepal_length", color="species", marginal_x="rug", marginal_y=None)
189+
fig = px.density_contour(iris, x="sepal_width", y="sepal_length", color="species", marginal_x="rug", marginal_y="histogram")
190190
fig.show()
191191
```
192192

0 commit comments

Comments
 (0)