8000 Fix `Text` class bug when `font` argument is provided without `math_fontfamily` by ain-soph · Pull Request #20101 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix Text class bug when font argument is provided without math_fontfamily #20101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
May 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/matplotlib/font_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ def __init__(self,
if (style is None and variant is None and weight is None and
stretch is None and size is None and fname is None):
self.set_fontconfig_pattern(family)
self.set_math_fontfamily(math_fontfamily)
return

self.set_family(family)
Expand Down
0