Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def seansYoke():
- binBoundary1 = np.linspace(0,80,100)
- binBoundary2 = np.linspace(300,100,2000)
- plt.hist(average_user_age, bins=binBoundary1, histtype='stepfilled', normed=True, color='b', label='User age')
- plt.hist(no_of_sales, bins=binBoundary1, histtype='stepfilled', normed=True, color='r', alpha=0.3, label='Rating')
- plt.title("Average user age vs Useability rating")
- plt.xlabel("Age")
- plt.ylabel("Rating")
- plt.legend()
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement