Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. def seansYoke():
  2.  
  3. binBoundary1 = np.linspace(0,80,100)
  4. binBoundary2 = np.linspace(300,100,2000)
  5. plt.hist(average_user_age, bins=binBoundary1, histtype='stepfilled', normed=True, color='b', label='User age')
  6. plt.hist(no_of_sales, bins=binBoundary1, histtype='stepfilled', normed=True, color='r', alpha=0.3, label='Rating')
  7. plt.title("Average user age vs Useability rating")
  8. plt.xlabel("Age")
  9. plt.ylabel("Rating")
  10. plt.legend()
  11. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement