Hello Markus,

On 23.02.06, Markus Meyer wrote:
> When using the following program, some histogram bars are not filled
> correctly. This happens with current CVS HEAD.
> 
> Any ideas?
> Markus
> 
> -------------------------------------------------------------------
> 
> from pyx import *
> 
> d = graph.data.list([(1,  0.3),
>                      (2,  0.5),
>                      (3, -0.3),
>                      (4,  0.8),
>                      (5,  0.5)], x=1, y=2)
> 
> g = graph.graphxy(width=8)
> g.plot(d, [graph.style.histogram([deco.filled([color.rgb.red])])])

Have you tried
   g.plot(d, [graph.style.histogram([deco.filled([color.rgb.red])],
                                    fillable=1)])

> g.writePDFfile("histogram")

HTH,

        Jörg


-------------------------------------------------------
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