I'm having a lot of trouble trying to give each line in a chart I've produced to have a unique color. Matplotlib.pyplot function plt.errorbar() seems to cycle through 10 colors and repeats. My plot is generated using a for loop with a static x from a dataframe index and multiple y's from the dataframe columns:
fig = plt.figure()
for col in df_avg_diff.columns:
plt.errorbar(x=df_avg_diff.index, y=df_avg_diff[col])
plt.show()
How would I alter this code to include color variation for every y? Thanks!