On Sep 26, 2008, at 3:38 PM, John Hunter wrote:

> On Fri, Sep 26, 2008 at 2:36 PM, Tony S Yu <[EMAIL PROTECTED]> wrote:
>>
>> Actually, now that I think about it: you could plot a trivially  
>> small image
>> and just adjust the coordinates so that they correspond to the  
>> original
>> matrix shape. Is this what you were thinking?
>
> This is something I considered, but I was thinking less about the
> implementation and more about the functionality.  I don't want to
> raise an exception unless the input doesn't make sense.  I would
> rather the user start at a boring image and figure out why it is blank
> that deal with an exception.

Yeah, I agree this is much friendlier.

>> I should note that a dense zero array also fails to plot with spy  
>> *if marker
>> mode is used*.
>
> Can you fix this along with spy2?

I assume you mean spy, not spy2 (I just searched through the  
matplotlib files and saw that spy2 hasn't existed since 2006). I'll  
work on a patch to return a blank plot using the method described  
above (unless someone chimes in with a better suggestion).

-Tony



-------------------------------------------------------------------------
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to