This is not exactly what you want but it may be close enough: The line
plt.rc("font", family="serif")changes the figure to a serif font, which looks very similar to latex. Christoph
This is not exactly what you want but it may be close enough: The line
plt.rc("font", family="serif")changes the figure to a serif font, which looks very similar to latex. Christoph