Skip to content

Commit 7aaaaff

Browse files
format
1 parent 26fa4e0 commit 7aaaaff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "ju
3939

4040
```python
4141
import plotly.express as px
42-
fig = px.bar(x=["a", "b", "c"], y=[1,2,3])
42+
fig = px.bar(x=["a", "b", "c"], y=[1, 3, 2])
4343
fig.show()
4444
```
4545

doc/python/getting-started.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ This package contains everything you need to write figures to standalone HTML fi
7373

7474
```python
7575
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])
7777
fig.write_html('first_figure.html', auto_open=True)
7878
```
7979

@@ -129,15 +129,15 @@ and display plotly figures inline using the `plotly_mimetype` renderer...
129129

130130
```python
131131
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])
133133
fig.show()
134134
```
135135

136136
or using `FigureWidget` objects.
137137

138138
```python
139139
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])
141141

142142
import plotly.graph_objects as go
143143
fig_widget = go.FigureWidget(fig)
@@ -184,15 +184,15 @@ and display plotly figures inline using the notebook renderer...
184184

185185
```python
186186
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])
188188
fig.show()
189189
```
190190

191191
or using `FigureWidget` objects.
192192

193193
```python
194194
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])
196196

197197
import plotly.graph_objects as go
198198
fig_widget = go.FigureWidget(fig)

0 commit comments

Comments
 (0)