You can use TeX to render all of your Matplotlib text by setting
rcParams["text.usetex"] (default: False) to True. This requires that you have TeX and the other
dependencies described in the Text rendering with LaTeX tutorial properly
installed on your system. Matplotlib caches processed TeX expressions, so that
only the first occurrence of an expression triggers a TeX compilation. Later
occurrences reuse the rendered image from the cache and are thus faster.
Unicode input is supported, e.g. for the y-axis label in this example.