-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotting in PS3 1.B #16
Comments
Like how would "dividing a bar's percentage" work? In the data before I plot? |
counts, _, _ = plt.hist(...) Doing this does nothing and I can't replot after I alter bins anyways |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This plot has been taking me forever and I think I am getting further. The np.hist function returns a tuple, i transform the tuple into a pandas data frame and calculate percentages. The pandas matplotlib functionality sucks, but I'm not sure how to specify anything in a matplotlib histogram. How does matplotlib make sense of what is x and y from a np array? How can i specify a specific bin's width?
The text was updated successfully, but these errors were encountered: