Skip to content

Instantly share code, notes, and snippets.

@bbennett36
Created August 5, 2018 16:06
Show Gist options
  • Save bbennett36/df353eb9e5e0db6fd65edc84765851b2 to your computer and use it in GitHub Desktop.
Save bbennett36/df353eb9e5e0db6fd65edc84765851b2 to your computer and use it in GitHub Desktop.
plotting gists
## Multiple plots in one line
fig, (ax1, ax2, ax3, ax4) = plt.subplots(ncols=4, sharey=False, figsize=(20,5))
ax1.set_ylim([60,90])
sns.barplot(x="pp", y='sc_avgcr', data=high_five, ax=ax1)
ax2.set_ylim([60,90])
sns.barplot(x="pp", y='sc_avgsr', data=high_five, ax=ax2)
ax3.set_ylim([60,90])
sns.barplot(x="pp", y='sc_hisr', data=high_five, ax=ax3)
ax4.set_ylim([60,90])
sns.barplot(x="pp", y='sc_hisr', data=high_five, ax=ax4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment