Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 49480ee

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-9
lines changed

‎lib/matplotlib/font_manager.py

Copy file name to clipboardExpand all lines: lib/matplotlib/font_manager.py
-9Lines changed: 0 additions & 9 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.