Skip to content

Commit 5690cc9

Browse files
author
mahdis-z
committed
minor revision
1 parent 98e08ea commit 5690cc9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/python/bar-charts.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jupyter:
66
extension: .md
77
format_name: markdown
88
format_version: '1.2'
9-
jupytext_version: 1.3.0
9+
jupytext_version: 1.3.2
1010
kernelspec:
1111
display_name: Python 3
1212
language: python
@@ -317,8 +317,7 @@ fig.show()
317317

318318
### Control Bar Position in Different Subplots
319319

320-
To control bars positional range among several subplots, set the same axes to the same [alignmentgroup](https://plot.ly/python/reference/#bar-alignmentgroup). In the following example we have two subplots sharing an x axis with two bar traces (trace0, trace1) on the top, and one bar trace (trace2) on the bottom, that all are aligned by setting the same `alignmentgroup`.
321-
You also can line up bars of the same positional coordinate by setting [offsetgroup](https://plot.ly/python/reference/#bar-offsetgroup).
320+
To control the positional range of bars among several subplots, place traces in the same [alignmentgroup](https://plot.ly/python/reference/#bar-alignmentgroup). In the following example we have two subplots sharing an x-axis with two bar traces (trace0, trace1) on the top, and one bar trace (trace2) on the bottom. These traces all are aligned by setting the same `alignmentgroup`. Bar position can also be coordinated by placing traces in the same [offsetgroup](https://plot.ly/python/reference/#bar-offsetgroup).
322321

323322
```python
324323
import plotly.graph_objects as go

0 commit comments

Comments
 (0)