Thanks to visit codestin.com Credit goes to github.com
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 7d09877 commit 532d925Copy full SHA for 532d925
1 file changed
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