Skip to content

Commit 49480ee

Browse files
authored
Merge pull request #12483 from anntzer/noupdatefonts
Kill FontManager.update_fonts.
2 parents 9ce5eb4 + 35db7dc commit 49480ee

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/matplotlib/font_manager.py

-9
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
# - default font algorithm needs improvement and testing
3030
# - setWeights function needs improvement
3131
# - 'light' is an invalid weight value, remove it.
32-
# - update_fonts not implemented
3332

3433
from functools import lru_cache
3534
import json
@@ -1020,14 +1019,6 @@ def set_default_weight(self, weight):
10201019
"""
10211020
self.__default_weight = weight
10221021

1023-
def update_fonts(self, filenames):
1024-
"""
1025-
Update the font dictionary with new font files.
1026-
Currently not implemented.
1027-
"""
1028-
# !!!! Needs implementing
1029-
raise NotImplementedError
1030-
10311022
# Each of the scoring functions below should return a value between
10321023
# 0.0 (perfect match) and 1.0 (terrible match)
10331024
def score_family(self, families, family2):

0 commit comments

Comments
 (0)