How can I assign labels "a", "b", "c" individual colors (for example, "a" green, "b" blue, "c" red) in the example below?
import numpy as np
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
p = plt.boxplot(np.random.normal(size=(10,3)))
ax.set_xticklabels(list("abc"))
plt.show()

source
share