@@ -336,7 +336,7 @@ This example orders the bars alphabetically with `categoryorder: 'category ascen
D6EE
336
336
``` python
337
337
import plotly.graph_objects as go
338
338
339
- x= [' b' , ' a' , ' c' ,' d' ]
339
+ x= [' b' , ' a' , ' c' , ' d' ]
340
340
fig = go.Figure(go.Bar(x = x, y = [2 ,5 ,1 ,9 ], name = ' Montreal' ))
341
341
fig.add_trace(go.Bar(x = x, y = [1 , 4 , 9 , 16 ], name = ' Ottawa' ))
342
342
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
350
350
``` python
351
351
import plotly.graph_objects as go
352
352
353
- x= [' a ' , ' b ' , ' c' ,' d' ]
353
+ x= [' b ' , ' a ' , ' c' , ' d' ]
354
354
fig = go.Figure(go.Bar(x = x, y = [2 ,5 ,1 ,9 ], name = ' Montreal' ))
355
355
fig.add_trace(go.Bar(x = x, y = [1 , 4 , 9 , 16 ], name = ' Ottawa' ))
356
356
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
364
364
``` python
365
365
import plotly.graph_objects as go
366
366
367
- x= [' b' , ' a' , ' c' ,' d' ]
367
+ x= [' b' , ' a' , ' c' , ' d' ]
368
368
fig = go.Figure(go.Bar(x = x, y = [2 ,5 ,1 ,9 ], name = ' Montreal' ))
369
369
fig.add_trace(go.Bar(x = x, y = [1 , 4 , 9 , 16 ], name = ' Ottawa' ))
370
370
fig.add_trace(go.Bar(x = x, y = [6 , 8 , 4.5 , 8 ], name = ' Toronto' ))
0 commit comments