Skip to content

Instantly share code, notes, and snippets.

@deansublett
Created June 5, 2019 18:24
Show Gist options
  • Save deansublett/f32eaa5d5d9ef793945b8950c9055419 to your computer and use it in GitHub Desktop.
Save deansublett/f32eaa5d5d9ef793945b8950c9055419 to your computer and use it in GitHub Desktop.
scored = movies_clean.sort_values('score', ascending=False)
plt.figure(figsize=(16,6))
ax = sns.barplot(x=scored['score'].head(10), y=scored['original_title'].head(10), data=scored, palette='deep')
#plt.xlim(3.55, 5.25)
plt.title('Best Rated & Most Popular Blend', weight='bold')
plt.xlabel('Score', weight='bold')
plt.ylabel('Movie Title', weight='bold')
plt.savefig('scored_movies.png')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment