You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Specifying histtype='stepfilled' and normed=True when using plt.hist causes ymax to be set incorrectly #4414
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.
changed the title [-]specifying histplt.hist [/-][+]Specifying histtype='stepfilled' and normed=True when using plt.hist causes the ymax to be set incorrectly[/+]on May 7, 2015
changed the title [-]Specifying histtype='stepfilled' and normed=True when using plt.hist causes the ymax to be set incorrectly[/-][+]Specifying histtype='stepfilled' and normed=True when using plt.hist causes ymax to be set incorrectly[/+]on May 7, 2015
I suspect that some place there is a ax.set_ylim(max(..)) call which just needs to be changed to an autoscale/limit call, but given that this is hist one can never be sure.
Activity
[-]specifying histplt.hist [/-][+]Specifying histtype='stepfilled' and normed=True when using plt.hist causes the ymax to be set incorrectly[/+][-]Specifying histtype='stepfilled' and normed=True when using plt.hist causes the ymax to be set incorrectly[/-][+]Specifying histtype='stepfilled' and normed=True when using plt.hist causes ymax to be set incorrectly[/+]tacaswell commentedon May 7, 2015
I suspect that some place there is a
ax.set_ylim(max(..))call which just needs to be changed to an autoscale/limit call, but given that this ishistone can never be sure.fixed bug for issue matplotlib#4414
Revert "fixed bug for issue matplotlib#4414"
fixed bug for matplotlib#4414
QuLogic commentedon Dec 11, 2016
This was corrected by #7476 and should be fixed in 2.0.0.
