@@ -20,7 +20,7 @@ jupyter:
20
20
name : python
21
21
nbconvert_exporter : python
22
22
pygments_lexer : ipython3
23
- version : 3.6.7
23
+ version : 3.7.3
24
24
plotly :
25
25
description : Plotly Express is a terse, consistent, high-level API for rapid data
26
26
exploration and figure generation.
@@ -137,8 +137,8 @@ fig.show()
137
137
``` python
138
138
import plotly.express as px
139
139
tips = px.data.tips()
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" )
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 ' )
142
142
fig.show()
143
143
```
144
144
@@ -186,7 +186,7 @@ fig.show()
186
186
``` python
187
187
import plotly.express as px
188
188
iris = px.data.iris()
189
- fig = px.density_contour(iris, x = " sepal_width" , y = " sepal_length" , color = " species" , marginal_x = " rug" , marginal_y = " histogram " )
189
+ fig = px.density_contour(iris, x = " sepal_width" , y = " sepal_length" , color = " species" , marginal_x = " rug" , marginal_y = None )
190
190
fig.show()
191
191
```
192
192
0 commit comments