#59 bug on creating plots with iterable data

PyX
closed
nobody
invalid (1)
1
2013-07-12
2013-01-28
No

When using styles on a graph.plot with data as an iterable data, an error raised.

Minimal example:

from pyx import *

g = graph.graphxy(width=8)

g.plot([graph.data.function("y(x)=exp(x)"),graph.data.function("y(x)=x**3")], styles=[graph.style.symbol.changecircle])

I will try to complete this ticket with more details when I have more time.

Discussion

  • Jörg Lehmann

    Jörg Lehmann - 2013-01-30

    As mentioned on the mailing list, this is not a bug. You should
    use styles=[graph.style.symbol(symbol=graph.style.symbol.changecircle)] instead.

    I will thus close this ticket. Feel free to reopen in case you disagree.

     
  • Jörg Lehmann

    Jörg Lehmann - 2013-01-30
    • labels: --> invalid
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks