I have updated to matplotlib 0.92.1 and numpy 1.0.4 and still receive
an error.
/space/work/Bryan$ ./Check_0.1.py
Traceback (most recent call last):
File "./Check_0.1.py", line 344, in <module>
savefig(outfile)
File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 796, in
savefig
return fig.savefig(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line 727, in
savefig
self.canvas.print_figure(*args, **kwargs)
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py", line
456, in print_figure
self.draw()
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py", line
392, in draw
self.figure.draw(renderer)
File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line 569, in
draw
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 draw
else: rgbFace = colorConverter.to_rgb(self._facecolor)
File "/usr/lib/python2.5/site-packages/matplotlib/colors.py", line 429, in
to_rgb
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
Does anyone have an idea? It works in Windows.
On Fri, May 9, 2008 at 5:18 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
> Bryan Fodness wrote:
>
>> 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.
>>
> [...]
>
>> 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?
>>
>>
>
> Sounds like you have an older mpl version on the Fedora machine than on the
> Win box.
>
> Eric
>
--
"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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users