I want to:
1. Have matplotlib assign the linecolor for a plot
2. Read the linecolor with .get_color()
3. Create another plot with the linecolor set to a lighter version of
the previous linecolor.

Ie:

a, = plot(x,y)
a.get_color() = 'b'
b, = plot(x,y, color = "#xxxxxx")

Since I'm only using the standard matplotlib assigned colors which
cycle through b,g,r,c,m,y,k I thought I would just create a mapping
between each color and a lighter version.

How do I get the hex or RGB string for the base matplotlib colors?

Also, if there's a different property I can use to lighten the line
color without changing the color that would be cool too.

Cheers,

Jonno.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to