Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6793ba

Browse files
committed
Remove Fonts.get_used_characters
This is never called, is on an internal class, and the attribute it accesses doesn't exist as it was removed in #22204.
1 parent bd29eb7 commit f6793ba

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,14 +243,6 @@ def get_underline_thickness(self, font, fontsize, dpi):
243243
"""
244244
raise NotImplementedError()
245245

246-
def get_used_characters(self):
247-
"""
248-
Get the set of characters that were used in the math
249-
expression. Used by backends that need to subset fonts so
250-
they know which glyphs to include.
251-
"""
252-
return self.used_characters
253-
254246
def get_sized_alternatives_for_symbol(self, fontname, sym):
255247
"""
256248
Override if your font provides multiple sizes of the same

0 commit comments

Comments
 (0)