I have noticed this issue occurring often in several different plots. I set font, linewidth, and marker sizes in the standard ways (examples):
plt.title('My Title', fontsize = 12)
plt.plot(x, y, linewidth = 2)
plt.scatter(x, y, s = 300)
plt.xticks(fontsize = 12)
My issue is that font, line, and scatter sizes end up varying wildly between different runs of the program. There is seemingly no rhyme or reason. What causes this? It makes formatting plots very difficult as I never know what to expect from my code.
I am using Spyder with Python 3.8 (Anaconda) on the same computer. I am not switching screen resolutions or using an external monitor.