Jorge Leitão venit, vidit, dixit 28.01.2013 11:41:
> ------------------------------------------------------------------------
>
> *[bugs:#59] <http://sourceforge.net/p/pyx/bugs/59/> bug on creating
> plots with iterable data*
>
> *Status:* open
> *Created:* Mon Jan 28, 2013 10:41 AM UTC by Jorge Leitão
> *Last Updated:* Mon Jan 28, 2013 10:41 AM UTC
> *Owner:* nobody
>
> 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")]
> <http://sourceforge.net/../graph.data.function("y(x)=exp(x)"),graph.data.function("y(x)=x**3")>,
> styles=[graph.style.symbol.changecircle]
> <http://sourceforge.net/../graph.style.symbol.changecircle>)
>
> I will try to complete this ticket with more details when I have more time.
graph.style.symbol.changecircle is a symbol function, not a graph plot
style. You can use it as the symbol parameter of graph.style.symbol.
Michael
|