-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Specifying histtype='stepfilled' and normed=True when using plt.hist causes ymax to be set incorrectly #4414
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
Labels
Difficulty: Easy
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Milestone
Comments
I suspect that some place there is a |
CrazyKsv
added a commit
to CrazyKsv/matplotlib
that referenced
this issue
Mar 16, 2016
CrazyKsv
added a commit
to CrazyKsv/matplotlib
that referenced
this issue
Mar 16, 2016
This reverts commit 2a02dfc.
CrazyKsv
added a commit
to CrazyKsv/matplotlib
that referenced
this issue
Mar 16, 2016
Closed
This was corrected by #7476 and should be fixed in 2.0.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The combination of
histtype='stepfilled'
andnormed=True
seem to cause some problems with the max ylimit.Which is not the case when only using
histtype='stepfilled'
.Or when only using
normed=True
.It seems like in the erroneous case above, the max of the yaxis is set by the last plotted distribution, which can be tested by changing the order of when the different histograms are plotted.
The text was updated successfully, but these errors were encountered: