I'm making a scatterplot with error bars, and so far my code looks like this:
plt.errorbar(indices,
sample_means,
xerr=0,
yerr=yerr,
marker='o',
markeredgecolor='blue',
markerfacecolor='blue',
Linestyle='None',
ecolor=ecolor
)
Here ecolor is an array that can be something like np.array(['red','blue','green']). This controls the colors of the error bars, but I want the data markers to be those same colors as well. markeredgecolor and markerfacecolor don't seem to take arrays as values. Is there any way to make the data markers these colors as well?