Manually set legend colors
Manually set legend colors Question: I try to plot the following line plot, but I have difficulties to manually set legend colors. Currently the legend colors did not match the line colors. Any help would be very helpful. Thank you. import random import matplotlib.pyplot as plt random.seed(10) data=[(i, i+random.randint(1,20), random.choice(list("ABC"))) for i in range(2000,2025)] plt.figure(figsize=(14,8)) …