Hello, Vitaly, I would suggest to use the following code for matplotlib fonts: ```py matplotlib.rc ('text', usetex=True) font = {'family' : "serif", 'weight' : 'normal', 'size' : 18} matplotlib.rc ("font", **font) ``` Maybe it will look better.