Dear André and Jörg,

first of all a happy (and productive;-) new year!

I just started to make my first plots with PyX 0.13 and came across
the following problem. In graph.data.points I frequently use something
like zip(xvals, yvals) where xvals would be e.g. a Numpy linspace and
yvals is evaluated by applying Numpy functions to xvals. With Python 2 
this
works fine because zip produces a list. However, in Python 3, zip 
produces an
iterable which is not compatible with graph.data.points requiring an 
object
with a len-method. I am wondering whether it would make sense to 
rewrite
graph.data.points in such a way that it accepts iterables. It seems 
that
this would be more Python3-like. What do you think?

Best regards,
Gert

-- 
Gert-Ludwig Ingold      email: [email protected]
Institut für Physik     Phone: +49-821-598-3234
Universität Augsburg    Fax: +49-821-598-3222
D-86135 Augsburg        WWW: www.physik.uni-augsburg.de/theo1/ingold
Germany                 PGP: 86FF5A93, key available from homepage

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to