The default font is currently something bad (idk what it is)
A simple fix is to add this line plt.rc('font', family='serif') when setting font settings in line 59-66.
This solution doesn't need latex installed to compile but still produces a nice font which is very similar (or the same) as what latex defaults to.
Before:

After:

The default font is currently something bad (idk what it is)
A simple fix is to add this line
plt.rc('font', family='serif')when setting font settings in line 59-66.This solution doesn't need latex installed to compile but still produces a nice font which is very similar (or the same) as what latex defaults to.
Before:
After: