Skip to content

Instantly share code, notes, and snippets.

Created February 12, 2017 20:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Average Rating Comparison
#Plot Average Rating for all drugs
DrugAvgRating = pd.DataFrame(AvgRating, index=['Gabapentin','Clonazepam','Topiramate','Pregabalin'])
plt.legend(bbox_to_anchor=(1.05, 1), loc=2, borderaxespad=0)
plt.title('Average Rating Comparison')
plt.xlabel('Average Rating')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment