Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f9e8a3

Browse filesBrowse files
committed
Merge pull request #6512 from srvanrell/add-computer-modern-font-family
Add computer modern font family
1 parent 16b18ea commit 9f9e8a3
Copy full SHA for 9f9e8a3

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎lib/matplotlib/rcsetup.py

Copy file name to clipboardExpand all lines: lib/matplotlib/rcsetup.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,12 +966,14 @@ def validate_hist_bins(s):
966966
'font.weight': ['normal', six.text_type],
967967
'font.size': [10, validate_float], # Base font size in points
968968
'font.serif': [['DejaVu Serif', 'Bitstream Vera Serif',
969+
'Computer Modern Roman',
969970
'New Century Schoolbook', 'Century Schoolbook L',
970971
'Utopia', 'ITC Bookman', 'Bookman',
971972
'Nimbus Roman No9 L', 'Times New Roman',
972973
'Times', 'Palatino', 'Charter', 'serif'],
973974
validate_stringlist],
974975
'font.sans-serif': [['DejaVu Sans', 'Bitstream Vera Sans',
976+
'Computer Modern Sans Serif',
975977
'Lucida Grande', 'Verdana', 'Geneva', 'Lucid',
976978
'Arial', 'Helvetica', 'Avant Garde', 'sans-serif'],
977979
validate_stringlist],
@@ -982,6 +984,7 @@ def validate_hist_bins(s):
982984
'Western', 'Humor Sans', 'fantasy'],
983985
validate_stringlist],
984986
'font.monospace': [['DejaVu Sans Mono', 'Bitstream Vera Sans Mono',
987+
'Computer Modern Typewriter',
985988
'Andale Mono', 'Nimbus Mono L', 'Courier New',
986989
'Courier', 'Fixed', 'Terminal', 'monospace'],
987990
validate_stringlist],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.