📜  图例文本颜色 matplotlib - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:43.801000             🧑  作者: Mango

代码示例1
import matplotlib.pyplot as plt
l = plt.legend()
for text in l.get_texts():
    text.set_color("red")