Re: [Matplotlib-users] histograms and masked arrays

2007-03-14 Thread Eric Firing
Peter Melchior wrote: > Hello everybody, > > First I have to say, how much I appreciate using matplotlib. > > But there are some annoyances. One I stumbled over recently is that histograms > don't deal with masked arrays properly. Fixed now in svn. If you don't want to install from svn, use hi

[Matplotlib-users] histograms and masked arrays

2007-03-14 Thread Peter Melchior
Hello everybody, First I have to say, how much I appreciate using matplotlib. But there are some annoyances. One I stumbled over recently is that histograms don't deal with masked arrays properly. For example: from numpy import * from pylab import * bins = arange(21) data_masked = ma.masked_v