|
From: Goyo <goy...@gm...> - 2012-08-31 18:29:18
|
2012/8/30 Sterling Smith <sm...@fu...>: > Thank you for taking the time to consider my question. I'm sorry that I didn't pose my question correctly. I should have said: 'Consider the _results_ of the following script:' I originally tried to attach the results I obtained, which showed no change in color for the markers in the legend, while the line connecting the markers in the legend did change color. Actualy your question is correctly posted but I misread it. Calling set_color changes only the line color, not the markers. This is expected and documented behavoir. There are separate methods for the markers: line[0].set_markerfacecolor line[0].set_markeredgecolor See http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.lines.Line2D Regards Goyo |