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 ?

Thank you.
Sergio.

···

#!/usr/bin/env python

from pylab import *

from matplotlib.patches import Polygon

t = arange(0.0, 1.0+0.01, 0.01)
s1 = t
s2 = tt
s3 = t
t*t

text(0.50, 0.4,
r"$d(f_2,f_3)$", horizontalalignment=‘center’,
color= ‘#8f0100’, fontsize=30)

xticks(size=20)
yticks(size=20)

fill(t, s3, ‘#e9ccce’, linewidth=0)
fill(t, s2, ‘w’, linewidth=0)

savefig(‘diamxn2.eps’)