Ryan May wrote:
> Ryan May wrote:
>> Hi,
>>
>> Is there any reason pyplot.fill() doesn't support masked arrays?  Or was 
>> it just overlooked?
> 
> Looks like this is better handled by fill_between, nevermind.
> 
> Now, what about dates?  I'm having problems using dates for the x-axis for 
> fill_between.  I know I can use date2num on my array, but I was wonder if 
> there 
> was some magic I could add to the fill_between code.

Magic is the operative word.  It is sprinkled like pixie dust throughout 
mpl.  You may be able to figure it out by looking at the code for other 
functions that do support units.  You could look for recent commits by 
Ted Drain, if I remember correctly, and by John, both of whom fill gaps 
in units handling every now and then.

For example, note this line at the top of scatter:

         self._process_unit_info(xdata=x, ydata=y, kwargs=kwargs)


Eric

> 
> Ryan
> 


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to