Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

legend text color matplotlib

import matplotlib.pyplot as plt
l = plt.legend()
for text in l.get_texts():
    text.set_color("red")
 
PREVIOUS NEXT
Tagged: #legend #text #color #matplotlib
ADD COMMENT
Topic
Name
1+5 =