Answers for "legend text color matplotlib"

0

legend text color matplotlib

import matplotlib.pyplot as plt
l = plt.legend()
for text in l.get_texts():
    text.set_color("red")
Posted by: Guest on May-14-2020

Python Answers by Framework

Browse Popular Code Answers by Language