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

Skip to content

Commit b49f46b

Browse files
committed
Test fixes
1 parent 4be993b commit b49f46b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

lib/matplotlib/afm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,10 @@ def get_familyname(self):
523523
br'light|ultralight|extra|condensed))+$')
524524
return re.sub(extras, '', name)
525525

526+
@property
527+
def family_name(self):
528+
return self.get_familyname()
529+
526530
def get_weight(self):
527531
"Return the font weight, e.g., 'Bold' or 'Roman'"
528532
return self._header[b'Weight']
Binary file not shown.
Loading

0 commit comments

Comments
 (0)