Skip to content

Commit 55473a1

Browse files
committed
Update bar-charts.md
1 parent 8a81385 commit 55473a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/bar-charts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ fig.show()
307307
### Bar Chart with Relative Barmode
308308

309309
With "relative" barmode, the bars are stacked on top of one another, with negative values
310-
below the axis, positive values above.
310+
below the axis and positive values above.
311311

312312
```python
313313
import plotly.graph_objects as go
@@ -327,7 +327,7 @@ fig.show()
327327

328328
*Supported in Plotly.py 6.0.0 and later*
329329

330-
Use the `offsetgroup` property with `barmode="stacked"` or `barmode="relative"` to create grouped stacked bar charts. Bars that have the same `offsetgroup` will share the same position on the axis. Bars with no `offsetgroup` set will also share the same position on the axis. In the following example, for each quarter, the value for cities that belong to the same `offsetgroup` are stacked together.
330+
Use the `offsetgroup` property with `barmode="stacked"` or `barmode="relative"` to create grouped stacked bar charts. Bars that have the same `offsetgroup` will share the same position on the axis. Bars with no `offsetgroup` set will also share the same position on the axis. In the following example, for each quarter, the value for cities that belong to the same `offsetgroup` are stacked together.
331331

332332
```python
333333
import plotly.graph_objects as go

0 commit comments

Comments
 (0)