We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13453ea commit bd49d5aCopy full SHA for bd49d5a
lib/matplotlib/font_manager.py
@@ -1045,7 +1045,7 @@ def addfont(self, path):
1045
font_files = font_manager.findSystemFonts(fontpaths=font_dirs)
1046
1047
for font_file in font_files:
1048
- font_manager.fontManager.addfont(font_file)
+ font_manager.fontManager.addfont(font_file)
1049
1050
fig, ax = plt.subplots()
1051
ax.set_title(f'Roboto is an example font', font='roboto', size=14)
@@ -1054,7 +1054,7 @@ def addfont(self, path):
1054
1055
Notes
1056
-----
1057
- This method is useful if you want to install fonts via the Python
+ This method is useful if you want to install fonts via the Python
1058
package, which is generally not recommended as user added fonts may not
1059
persist in the font cache.
1060
"""
0 commit comments