10000 consistency · plotly/plotly.py-docs@8390f25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8390f25

Browse files
authored
consistency
1 parent 7e15fdf commit 8390f25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/bar-charts.md

Lines changed: 3 additions & 3 deletions
D6EE
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ This example orders the bars alphabetically with `categoryorder: 'category ascen
336336
```python
337337
import plotly.graph_objects as go
338338

339-
x=['b', 'a', 'c','d']
339+
x=['b', 'a', 'c', 'd']
340340
fig = go.Figure(go.Bar(x=x, y=[2,5,1,9], name='Montreal'))
341341
fig.add_trace(go.Bar(x=x, y=[1, 4, 9, 16], name='Ottawa'))
342342
fig.add_trace(go.Bar(x=x, y=[6, 8, 4.5, 8], name='Toronto'))
@@ -350,7 +350,7 @@ This example shows how to customise sort ordering by defining `categoryorder` to
350350
```python
351351
import plotly.graph_objects as go
352352

353-
x=['a','b','c','d']
353+
x=['b', 'a', 'c', 'd']
354354
fig = go.Figure(go.Bar(x=x, y=[2,5,1,9], name='Montreal'))
355355
fig.add_trace(go.Bar(x=x, y=[1, 4, 9, 16], name='Ottawa'))
356356
fig.add_trace(go.Bar(x=x, y=[6, 8, 4.5, 8], name='Toronto'))
@@ -364,7 +364,7 @@ This example orders the bars by descending value with `categoryorder: 'total des
364364
```python
365365
import plotly.graph_objects as go
366366

367-
x=['b', 'a', 'c','d']
367+
x=['b', 'a', 'c', 'd']
368368
fig = go.Figure(go.Bar(x=x, y=[2,5,1,9], name='Montreal'))
369369
fig.add_trace(go.Bar(x=x, y=[1, 4, 9, 16], name='Ottawa'))
370370
fig.add_trace(go.Bar(x=x, y=[6, 8, 4.5, 8], name='Toronto'))

0 commit comments

Comments
 (0)
0