Skip to content

Commit 55ed0fb

Browse files
1 parent 2ca1f12 commit 55ed0fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/bar-charts.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ fig.update_layout(barmode='relative', title_text='Relative Barmode')
326326
fig.show()
327327
```
328328

329-
### Bar Chart Sorting
329+
### Bar Chart with Sorted or Ordered Categories
330330

331331
Set `categoryorder` to "category ascending/descending" for the alphanumerical order of the category names or "total ascending/descending" for numerical order of values. [categoryorder](https://plot.ly/python/reference/#layout-xaxis-categoryorder) for more information.
332332

@@ -342,7 +342,7 @@ fig.update_layout(barmode='stack', xaxis={'categoryorder':'category ascending'})
342342
fig.show()
343343
```
344344

345-
This example shows how to customise ordering by defining `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`.
345+
This example shows how to customise sort ordering by defining `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`.
346346

347347
```python
348348
import plotly.graph_objects as go
@@ -357,6 +357,7 @@ fig.show()
357357
```
358358

359359
### Horizontal Bar Charts
360+
360361
See examples of horizontal bar charts [here](https://plot.ly/python/horizontal-bar-charts/).
361362

362363

0 commit comments

Comments
 (0)