Skip to content

Instantly share code, notes, and snippets.

@betterdatascience
Created December 8, 2020 08:05
Show Gist options
  • Select an option

  • Save betterdatascience/55db12f6b91f77715b0b4762fc68f433 to your computer and use it in GitHub Desktop.

Select an option

Save betterdatascience/55db12f6b91f77715b0b4762fc68f433 to your computer and use it in GitHub Desktop.
003_roc_auc
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