Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. scored = movies_clean.sort_values('score', ascending=False)
  2.  
  3. plt.figure(figsize=(16,6))
  4.  
  5. ax = sns.barplot(x=scored['score'].head(10), y=scored['original_title'].head(10), data=scored, palette='deep')
  6.  
  7. #plt.xlim(3.55, 5.25)
  8. plt.title('Best Rated & Most Popular Blend', weight='bold')
  9. plt.xlabel('Score', weight='bold')
  10. plt.ylabel('Movie Title', weight='bold')
  11.  
  12. plt.savefig('scored_movies.png')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement