An rgb colorspec in matplotlib must be a sequence of three numbers between zero and one, so the problem is that you are indeed giving an invalid rgb arg.
I think perhaps you grabbed an error message from a different instance of this error; when I try it, I get an error message that correctly gives the invalid arg that was supplied: ValueError: to_rgb: Invalid rgb arg "(120, 120, 120)" to_rgb: Invalid rgb arg "(120, 120, 120)" Eric [EMAIL PROTECTED] wrote: > Hello, I have a problem with the svn version of matplotlib. I don't know when > this problem appeared but it was working before. > > so the next script gave me an error message: > > > import pylab > > p = pylab.plot([1,2],[2,3],'o') > pylab.setp(p,markerfacecolor=(120,120,120),markersize=5,markeredgewidth=1.,zorder=50) > > pylab.show() > > the main error message is: > > ValueError: to_rgb: Invalid rgb arg "(10.0, 10.0, 10.0)" > to_rgb: Invalid rgb arg "(10.0, 10.0, 10.0)" > > but I don't understand why. > > N. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users