@@ -73,7 +73,7 @@ This package contains everything you need to write figures to standalone HTML fi
73
73
74
74
``` python
75
75
import plotly.express as px
76
- fig = px.bar(x = [" a" , " b" , " c" ], y = [1 ,2 , 3 ])
76
+ fig = px.bar(x = [" a" , " b" , " c" ], y = [1 , 3 , 2 ])
77
77
fig.write_html(' first_figure.html' , auto_open = True )
78
78
```
79
79
@@ -129,15 +129,15 @@ and display plotly figures inline using the `plotly_mimetype` renderer...
129
129
130
130
``` python
131
131
import plotly.express as px
132
- fig = px.bar(x = [" a" , " b" , " c" ], y = [1 ,2 , 3 ])
132
+ fig = px.bar(x = [" a" , " b" , " c" ], y = [1 , 3 , 2 ])
133
133
fig.show()
134
134
```
135
135
136
136
or using ` FigureWidget ` objects.
137
137
138
138
``` python
139
139
import plotly.express as px
140
- fig = px.bar(x = [" a" , " b" , " c" ], y = [1 ,2 , 3 ])
140
+ fig = px.bar(x = [" a" , " b" , " c" ], y = [1 , 3 , 2 ])
141
141
142
142
import plotly.graph_objects as go
143
143
fig_widget = go.FigureWidget(fig)
@@ -184,15 +184,15 @@ and display plotly figures inline using the notebook renderer...
184
184
185
185
``` python
186
186
import plotly.express as px
187
- fig = px.bar(x = [" a" , " b" , " c" ], y = [1 ,2 , 3 ])
187
+ fig = px.bar(x = [" a" , " b" , " c" ], y = [1 , 3 , 2 ])
188
188
fig.show()
189
189
```
190
190
191
191
or using ` FigureWidget ` objects.
192
192
193
193
``` python
194
194
import plotly.express as px
195
- fig = px.bar(x = [" a" , " b" , " c" ], y = [1 ,2 , 3 ])
195
+ fig = px.bar(x = [" a" , " b" , " c" ], y = [1 , 3 , 2 ])
196
196
197
197
import plotly.graph_objects as go
198
198
fig_widget = go.FigureWidget(fig)
0 commit comments