Yang Zhang wrote:
> Hi, when I do:
> 
>    hist([0,0,0], bins=10, range=(0,10))
> 
> How come the single bin takes up the entire plot?  Same with just two 
> values, or anything less than 10 - the two bars take up the entire plot, 
> no matter what I plug in for range.  I'd just like 10 bins, from 0 to 9.

That's a bug in the current implementation (see also
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148).

mm


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to