Skip to content

adding a diverging bar example to the horizontal bar documentation #4994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 17, 2025
Merged
Prev Previous commit
Next Next commit
Moved language from #4984 per suggestion of @LiamConnors
  • Loading branch information
rl-utility-man authored Apr 9, 2025
commit efc4316faba5d65fbe8e3d47f65d545b0b2178c0
2 changes: 1 addition & 1 deletion doc/python/horizontal-bar-charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ fig.show()

### Diverging Bar (or Butterfly) Chart

Diverging bar charts show counts of positive outcomes or sentiments to the right of zero and counts of negative outcomes to the left of zero, allowing the reader to easily spot areas of excellence and concern.
Diverging bar charts show counts of positive outcomes or sentiments to the right of zero and counts of negative outcomes to the left of zero, allowing the reader to easily spot areas of excellence and concern. This example leaves the number of people offering a neutral response implicit because the categories add to 100%.

```python
import plotly.graph_objects as go
Expand Down