8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41fe92d commit 51000feCopy full SHA for 51000fe
lib/matplotlib/text.py
@@ -1350,7 +1350,7 @@ def get_parse_math(self):
1350
1351
def set_fontname(self, fontname):
1352
"""
1353
- Alias for `set_family`.
+ Alias for `set_fontfamily`.
1354
1355
One-way alias only: the getter differs.
1356
@@ -1364,7 +1364,7 @@ def set_fontname(self, fontname):
1364
.font_manager.FontProperties.set_family
1365
1366
1367
- return self.set_family(fontname)
+ self.set_fontfamily(fontname)
1368
1369
1370
class OffsetFrom:
0 commit comments