Hi Alan,

always interesting to browse some code. But it's a bit off-topic at
the users list. Don't you want to join the devel-list? But since this
is easy to answer by an counter-example, let me proceed:

    from pyx import *
    graph.graphxy(width=0).plot([graph.data.list([]),
                                 graph.data.function("y(x)=0")])

... goes into the branch you though it could never be reached.

Hint 1: Don't remove too much code when analysing the program flow.
Hint 2: Do not mix different data sources without providing styles.

:-)


André

PS: The code could be written more readable for sure. I guess it's
    quite old. But it does work well and it's not obfuscated (at least
    not by intention).

-- 
by  _ _      _    Dr. André Wobst
   / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to