i have used this command on windows vista with no problem.

     fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')

but when i run on fedora 8, i receive the following.
   (most recent call last):
     File "./program.py", line 361, in <module>
       savefig(outfile)
     File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 796,
in savg
       return fig.savefig(*args, **kwargs)
     File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line 727,
in sag
       self.canvas.print_figure(*args, **kwargs)
     File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py", le
       self.draw()
     File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py", lw
       self.figure.draw(renderer)
     File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line 569,
in drw
       for a in self.axes: a.draw(renderer)
     File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1155,
in draw
       a.draw(renderer)
     File "/usr/lib/python2.5/site-packages/matplotlib/patches.py", line
209, in dw
       else: rgbFace = colorConverter.to_rgb(self._facecolor)
     File "/usr/lib/python2.5/site-packages/matplotlib/colors.py", line 429,
in tob
       raise ValueError('to_rgb: Invalid rgb arg "%s"\n%s' % (str(arg),
exc))
   ValueError: to_rgb: Invalid rgb arg "None"
   invalid literal for float(): None
could someone tell me if i am missing something?


-- 
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to