The reason it wasn't working is that my function "foo" didn't have the 
right signature.fmt_xdata takes 1 argument. I have no idea why I didn't 
see an exception displayed.

It's working now that I have
def foo(x) pass

Mathew

John Hunter wrote:
> On Mon, Oct 13, 2008 at 2:27 PM, Mathew Yeates <[EMAIL PROTECTED]> wrote:
>   
>> Angus pointed out that I need to do
>> res.fmt_xdata=foo
>> Duh. I was evaluating foo.
>>
>> But this still doesn't work!
>> The default formatting operation is still called.
>>     
>
> This is the correct usage -- so if it is not working you need to post
> a complete example.  Perhaps you are not setting the correct Axes
> instance?
>
> JDH
>
>   



-------------------------------------------------------------------------
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