Skip to content

Instantly share code, notes, and snippets.

@shinokada
Last active June 23, 2020 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shinokada/97c29e3e03d666ca0294feb572cf49a5 to your computer and use it in GitHub Desktop.
Save shinokada/97c29e3e03d666ca0294feb572cf49a5 to your computer and use it in GitHub Desktop.
fig = px.bar(df, x="race", color="gender",
y='value',
title="A Grouped Bar Chart With Plotly Express in Python",
barmode='group',
height=600
)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment