Skip to content

Instantly share code, notes, and snippets.

@databyjp
Last active March 17, 2020 00:43
Show Gist options
  • Save databyjp/19d0be3ee1874d9c0169f3f4e5065bba to your computer and use it in GitHub Desktop.
Save databyjp/19d0be3ee1874d9c0169f3f4e5065bba to your computer and use it in GitHub Desktop.
fig = px.histogram(comp_df, x='datetime', template='plotly_white', title='Complaint counts by date')
fig.update_xaxes(categoryorder='category descending', title='Date').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