Hi,

Le 16/04/2013 12:14, Detlef Maurel (IKP) a écrit :
> there seems to be a bug in in pyplot.hist when using histtype="step".
>
> I am plotting the attached data to a histogram (see 1.png). In this
> case I set the limits on the y axis manually.
>
> When I don't do this (let the hist function choose the limits), I get
> the picture in the file 2.png. Only the highest bin is drawn. To be
> exact, ymin=second highest value, ymax=highest value. 
Can you also send a minimal code that reproduces the bug. I just tried a
hist(x, histtype='step') command, with x being a random vector and it
works fine.

best,
Pierre

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to