Currently I'm using command
plt.errorbar(X,Y,yerr=myYerr, fmt="o", alpha=0.5,capsize=4)
and I get default marker colours:
But what should I do to force matplotlib to be more colorblind-friendly?
CodePudding user response:
According to this [1] you can use the predefined colorblind style. It should be as simple as:
import matplotlib.pyplot as plt
plt.style.use('tableau-colorblind10')
Check out the last image from this link as well:
https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html