I recently resumed to work on a project and noticed that when I recreated a plot via matplotlib.pyplot, the default style has changed. This is a plot that was made earlier: The plot that was made before the change And this is how it currently produces plots: The plot that was made today I want to use the same style across all my plots, but changing all my old plots to this new style would take a lot of work. Is there a way I can change the style back to the old style? I just use the normal plot function without any parameters (except for the color of each line).
This is my code: (both plots were made with this code, the only difference is when it was run)
colors=['red', 'blue', 'green', 'yellow', 'cyan', 'black', 'gray', 'orange', 'brown']
for i in range(len(pos)):
plt.plot(leps[i], pos[i], color=colors[i%len(colors)], label="k: "+str(cubes[i])[:3])
plt.legend()
plt.xlabel("number of elements")
plt.ylabel("quality of classification")
plt.show()
jet(which is also bad for people without colourblindness).