Hi,

we got this Debian bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148

Citing:

"
the following python code creates a histogram with an x-axis range of
0.1 min to 0.3 max (based on the mins and maxes of the x rather than bin).
the bins should be used to size the axis since the user specified that
he wanted to see those specific bins (even though they are empty).  note
that the 'range=' option would be a potential solution, but it is ignored
when bin is a sequence (presumably because the range would be chosen
based on bin's limits, but this isn't so).

  from pylab import *
  x = [0.18,0.22,0.19]
  bin = [0,0.1,0.2,0.3,0.4,0.5]
  hist(x,bin)
  show()

i believe that the x-axis ranges should instead be based on the mins and
maxes of bin when it is a sequence.

please forward this report upstream or let me know if you believe that it
belongs there.

thank you for your consideration
"

I tested that this applies to 0.98.3.  Is this a bug?

Thanks,
Ondrej

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to