Filled Curves

Hi, I am a new user of matplotlib. First of all I would

    > like to say that the people working on matplotlib is doing
    > a great job.

    > Well, I have tried to use the 'fill', but I cannot get rid
    > of the lines. I have tried to use 'linewidth=0' at the
    > end, but it did not work.

    > Could somebody, please, tell me if I am doing something
    > wrong ?

Whether or not linewidth=0 is respected may be backend dependent. In
postscript it means use the smallest possible line. We have discussed
overriding this at the mpl level to impose consistency, but am not
sure what the status of this is. The safest best is to set the
edgecolor and facecolor to be identical.

JDH

John Hunter wrote:

Whether or not linewidth=0 is respected may be backend dependent. In
postscript it means use the smallest possible line. We have discussed
overriding this at the mpl level to impose consistency, but am not
sure what the status of this is. The safest best is to set the
edgecolor and facecolor to be identical.

John,

We did decide to make linewidth=0 suppress drawing the line, and this is in the ps backend. Most likely it is not in all backends, but it is in pdf, svg, and agg as well as ps. In the ps backend it is in the _draw_ps() method, so unless there is a code path that does not use this method, it should work.

Sergio, I deleted your original message so I don't remember how much info you gave. If linewidth=0 is not suppressing edge drawing and you are using mpl 0.87.7 or svn, then please provide a simple script illustrating the problem and say what backend and mpl version you are using.

Eric