2011/12/13 Nico Schlömer <nico.schloe...@gmail.com>:
> Hi,
>
> upon extracting the face color of a matplotlib.path.Path object,
>
>   fc = obj.get_facecolor()
>
> I always seem to get an array of length 4. This initially led me to
> believe I'm dealing with CMYK values, but it really seems like the
> last entry is *always* 1.0 and the first three give the RGB
> representation of the respective color.
> Is there any documentation on color codes usage in matplotlib?
>
> Cheers,
> Nico
>...

Hi,
maybe:
http://matplotlib.sourceforge.net/api/colors_api.html#module-matplotlib.colors

"RGB and RGBA are sequences of, respectively, 3 or 4 floats in the range 0-1."

hth,
 vbr

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to