Skip to content

Instantly share code, notes, and snippets.

@databyjp
Last active March 16, 2020 06:07
Show Gist options
  • Save databyjp/8ee20281d02ff56e8e2bcb32f9263b2f to your computer and use it in GitHub Desktop.
Save databyjp/8ee20281d02ff56e8e2bcb32f9263b2f to your computer and use it in GitHub Desktop.
fig = px.histogram(top_comps_df, x='Company', template='plotly_white', title='Complaint counts by company')
fig.update_xaxes(categoryorder='total descending').update_yaxes(title='Number of complaints')
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment