Dear ALL,

MPL accepts several formats for passing color information for the
plotting methods (plot, xlabel, ylabel, etc.) and these are well
documented. The set_color() and other methods in
matplotlib.Lines.Line2D accept all these formats, but I could not
figure out how to retrieve the current color of a plot using the
get_color() method in a format other than the 'b', 'r', 'g', etc.
predefined color symbols! I would instead like to be able to retrieve
the current color in RGB hex or HTML format. Is it possible?

Thanks in advance!

With best regards,

-- 
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: [EMAIL PROTECTED]
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to