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
removed unneeded comment
Co-authored-by: Liam Connors <[email protected]>
  • Loading branch information
rl-utility-man and LiamConnors authored Mar 26, 2025
commit 6b70a420a80c985d2dd2438378fdb29a7a1f3223
2 changes: 1 addition & 1 deletion doc/python/horizontal-bar-charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ import plotly.graph_objects as go


df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/refs/heads/master/gss_2002_5_pt_likert.csv')
#data source details are in this CSV file

df.rename(columns={'Unnamed: 0':"Category"}, inplace=True)

#achieve the diverging effect by putting a negative sign on the "disagree" answers
Expand Down