You are reading an old version of the documentation (v3.1.0). For the latest version see https://matplotlib.org/stable/api/prev_api_changes/api_changes_0.54.3.html
Version 3.1.0
matplotlib
Fork me on GitHub

Changes for 0.54.3ΒΆ

removed the set_default_font / get_default_font scheme from the
font_manager to unify customization of font defaults with the rest of
the rc scheme.  See examples/font_properties_demo.py and help(rc) in
matplotlib.matlab.