Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- import matplotlib.pyplot as plt
- import matplotlib.colors as colors
- table.plot(kind='barh',figsize=(15,11),align='center') # table dataframe has been generated in another file
- plt.ylabel('Count of Most common Venue in each cluster')
- plt.xlabel('Total no of each venue')
- plt.title('Exploring Venues')
- plt.gca().legend(('Bookstore', 'Breakfast Spot', 'Shopping Complex', 'Comfort Food Restaurant', 'Cricket Ground'))
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement