SHARE
TWEET

Untitled

a guest Jun 16th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. popular = movies_ranked.sort_values('popularity', ascending=False)
  2.  
  3. plt.figure(figsize=(16,6))
  4.  
  5. ax = sns.barplot(x=popular['popularity'].head(10), y=popular['original_title'].head(10), data=popular, palette='deep')
  6.  
  7. plt.title('"Most Popular" Movies by TMDB Votes', weight='bold')
  8. plt.xlabel('Popularity Score', weight='bold')
  9. plt.ylabel('Movie Title', weight='bold')
  10.  
  11. plt.savefig('popular_movies.png')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top