Skip to content

Instantly share code, notes, and snippets.

@databyjp
Last active March 18, 2020 17:58
Show Gist options
  • Save databyjp/8838151824f64af93e4b489db51dd051 to your computer and use it in GitHub Desktop.
Save databyjp/8838151824f64af93e4b489db51dd051 to your computer and use it in GitHub Desktop.
fig = px.bar(comp_grp_df, x='portion', y='company', template='plotly_white', orientation='h',
labels={'portion': '% of Complaints', 'bigram': 'Bigram', 'company': 'Company'},
color='bigram', color_discrete_sequence=px.colors.qualitative.Safe)
fig.update_layout(font=dict(size=10, color='DarkSlateGray'))
fig.update_layout(width=1200, height=500)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment