Skip to content

Commit bd49d5a

Browse files
committed
fix indent
1 parent 13453ea commit bd49d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/font_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ def addfont(self, path):
10451045
font_files = font_manager.findSystemFonts(fontpaths=font_dirs)
10461046
10471047
for font_file in font_files:
1048-
font_manager.fontManager.addfont(font_file)
1048+
font_manager.fontManager.addfont(font_file)
10491049
10501050
fig, ax = plt.subplots()
10511051
ax.set_title(f'Roboto is an example font', font='roboto', size=14)
@@ -1054,7 +1054,7 @@ def addfont(self, path):
10541054
10551055
Notes
10561056
-----
1057-
This method is useful if you want to install fonts via the Python
1057+
This method is useful if you want to install fonts via the Python
10581058
package, which is generally not recommended as user added fonts may not
10591059
persist in the font cache.
10601060
"""

0 commit comments

Comments
 (0)