[EMAIL PROTECTED] wrote: > Hi, > > some times ago I saw that the rgb color was not working anymore, the hexa > code > yes but not the rgb. > > markerfacecolor=(120,120,120,) > > retrun this error: > > ValueError: to_rgb: Invalid rgb arg "(120, 120, 120)" > to_rgb: Invalid rgb arg "(120, 120, 120)"
This really is an invalid rgb arg; a valid equivalent would be (120.0/255, 120.0/255, 120.0/255). Matplotlib colors can be specified in several ways, including triplets of numbers from 0 to 1, but not including triplets of numbers from 0 to 255. Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users