Skip to content

Instantly share code, notes, and snippets.

@databyjp
Last active March 17, 2020 00:45
Show Gist options
  • Save databyjp/95ea54870a6d4cd1a5b89dff19b0d1ca to your computer and use it in GitHub Desktop.
Save databyjp/95ea54870a6d4cd1a5b89dff19b0d1ca to your computer and use it in GitHub Desktop.
fig = px.histogram(comp_df, x='Words_clipped', template='plotly_white', title='Complain counts by length')
fig.update_xaxes(categoryorder='total descending', title='Number of words (clipped at 1000 words)').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