call Legend.get_texts()
will get a list of Text object in the legend object:
import pylab as pl
pl.plot(randn(100), label="randn")
l = legend()
for text in l.get_texts():
text.set_color("red")
call Legend.get_texts()
will get a list of Text object in the legend object:
import pylab as pl
pl.plot(randn(100), label="randn")
l = legend()
for text in l.get_texts():
text.set_color("red")