Skip to content

Commit 66db52a

Browse files
committed
Fix font demo bug, reorder tex-gyre families
1 parent a9bcdfb commit 66db52a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

proplot/demos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
'TeX Gyre Bonum',
3535
'TeX Gyre Termes',
3636
'TeX Gyre Pagella',
37-
'TeX Gyre Cursor', # monospace
3837
'TeX Gyre Chorus', # cursive
3938
'TeX Gyre Adventor', # fantasy
39+
'TeX Gyre Cursor', # monospace
4040
)
4141
COLOR_TABLE = {
4242
# NOTE: Just want the names but point to the dictionaries because

proplot/internals/rcsetup.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -658,19 +658,6 @@ def copy(self):
658658
'Verdana',
659659
'sans-serif',
660660
],
661-
'font.monospace': [
662-
'TeX Gyre Cursor', # Courier lookalike
663-
'DejaVu Sans Mono',
664-
'Bitstream Vera Sans Mono',
665-
'Computer Modern Typewriter',
666-
'Andale Mono',
667-
'Courier New',
668-
'Courier',
669-
'Fixed',
670-
'Nimbus Mono L',
671-
'Terminal',
672-
'monospace',
673-
],
674661
'font.cursive': [
675662
'TeX Gyre Chorus', # Chancery lookalike
676663
'Apple Chancery',
@@ -695,6 +682,19 @@ def copy(self):
695682
'xkcd',
696683
'fantasy',
697684
],
685+
'font.monospace': [
686+
'TeX Gyre Cursor', # Courier lookalike
687+
'DejaVu Sans Mono',
688+
'Bitstream Vera Sans Mono',
689+
'Computer Modern Typewriter',
690+
'Andale Mono',
691+
'Courier New',
692+
'Courier',
693+
'Fixed',
694+
'Nimbus Mono L',
695+
'Terminal',
696+
'monospace',
697+
],
698698
'font.family': FONTNAME,
699699
'font.size': FONTSIZE,
700700
'grid.alpha': GRIDALPHA, # lightweight unobtrusive gridlines

0 commit comments

Comments
 (0)