8000 WIP: Fix font selection by tacaswell · Pull Request #8800 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

WIP: Fix font selection #8800

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

Closed
wants to merge 9 commits into from
Closed
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
Prev Previous commit
Next Next commit
Restore original numeric weights
  • Loading branch information
Rufflewind authored and tacaswell committed Jun 28, 2017
commit c3ef06584529d7b65d8028a3b4db0df214aca518
14 changes: 6 additions & 8 deletions lib/matplotlib/font_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,29 +93,27 @@
'ultra-expanded' : 900}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like you chmod+x'd the file accidentally.


weight_dict = {
'hair' : 50,
'thin' : 50,
'extralight' : 100,
'ultralight' : 100,
'hair' : 100,
'thin' : 100,
'extralight' : 200,
'ultralight' : 200,
'thin' : 200,
'light' : 200,
'demilight' : 300,
'normal' : 400,
'regular' : 400,
'book' : 400,
'plain' : 400,
'roman' : 400,
'medium' : 500,
'roman' : 500,
'semibold' : 600,
'demibold' : 600,
'demi' : 600,
'bold' : 700,
'heavy' : 800,
'extrabold' : 800,
'extra bold' : 800,
'ultrabold' : 800,
'black' : 900,
'heavy' : 900}
'black' : 900}

font_family_aliases = {
'serif',
Expand Down
0