I am running into problems where histograms are not autoscaling correctly. I have filed a bug report on github: https://github.com/matplotlib/matplotlib/issues/841
Below is a copy of the github bug report: --- I am running into problems where histograms are not autoscaling correctly. Below is a very simple example which reproduces this problem: ``` import pylab as P P.hist([3000,3010, 3012], histtype='step') P.savefig('test.pdf') ``` When I run this example using matplotlib v1.1.0 or using the absolute latest version of matplotlib, I obtain an axes which varies from 3000<x<3012 and 0<y<3000 with no visible histogram. When I add (before saving the plot) the line: ``` P.gca().set_ylim(ymax=2.1) ``` I get a reasonable axes range and can see the histogram. I also get a reasonable axes range when I remove the command histtype='step' or when I use matplotlib v1.0.0. Thanks for your help, Joshua ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users