use_font

use_font(font=None)[source]

Set the default font and ensure that the font used for TeX-style math is the same as the regular font by applying rcParams['mathtext.default'] = 'regular'.

Parameters

font (str, optional) – If 'auto', we search for 'Helvetica Neue', followed by 'Helvetica', 'Arial', and finally 'DejaVu Sans'.