Nop John,

I was just wondering whether my assignment syntactically correct in Python
or a missing feature in matplotlib.

Gökhan


On Wed, May 13, 2009 at 2:23 PM, John Hunter <jdh2...@gmail.com> wrote:

> On Wed, May 13, 2009 at 2:15 PM, Gökhan SEVER <gokhanse...@gmail.com>
> wrote:
> > Hmm, Thank you for the guidance John :)
> >
> > def myformat(x):
> >      return '%1.2f'%x
> >
> > axes().fmt_xdata = myformat  works like you said.
> >
> > How can I join x and y in one function? The following line gives me a
> syntax
> > error.
> >
> > def myformat(x, y):
> >       return '%1.2f'%x, '%1.2f'%y
> >
> > axes().(fmt_xdata, fmt_ydata) = myformat
> >
> > Since the function will return a tuple with two values could they be
> > assigned directly in the give fashion?
> >
>
> There is no support for this currently, sorry
>
> JDH
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to