Skip to content

Instantly share code, notes, and snippets.

@databyjp
Last active March 16, 2020 05:52
Show Gist options
  • Save databyjp/379eeee667409cdfe2149c3088bb0c1c to your computer and use it in GitHub Desktop.
Save databyjp/379eeee667409cdfe2149c3088bb0c1c to your computer and use it in GitHub Desktop.
fig = px.histogram(comps_grpby, title='Histogram - complain counts by company',
x='Complaints', template='plotly_white', nbins=20)
fig.update_xaxes(categoryorder='total descending')
fig.update_yaxes(title='Number of companies')
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment