Skip to content

Instantly share code, notes, and snippets.

@daradecic
Created January 4, 2021 07:51
Show Gist options
  • Save daradecic/e98e5f5716b2dcbb7de93e1e4fb48b65 to your computer and use it in GitHub Desktop.
Save daradecic/e98e5f5716b2dcbb7de93e1e4fb48b65 to your computer and use it in GitHub Desktop.
003_pr_curves
ax = df['quality'].value_counts().plot(kind='bar', figsize=(10, 6), fontsize=13, color='#087E8B')
ax.set_title('Counts of Bad and Good vines', size=20, pad=30)
ax.set_ylabel('Count', fontsize=14)
for i in ax.patches:
ax.text(i.get_x() + 0.19, i.get_height() + 100, str(round(i.get_height(), 2)), fontsize=15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment