Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitcb79aea

Browse files
committed
Fix glyphs for angle brackets
1 parentbba391d commitcb79aea

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎lib/matplotlib/_mathtext.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ def _get_glyph(self, fontname, font_class, sym):
433433
('ex','\x64')],
434434
r'\widetilde': [('rm','\x7e'), ('ex','\x65'), ('ex','\x66'),
435435
('ex','\x67')],
436-
r'<': [('cal','h'), ('ex','D')],
437-
r'>': [('cal','i'), ('ex','E')]
436+
r'<': [('cal','\x68'), ('ex','\x44')],
437+
r'>': [('cal','\x69'), ('ex','\x45')]
438438
}
439439

440440
foralias,targetin [(r'\leftparen','('),
@@ -443,6 +443,8 @@ def _get_glyph(self, fontname, font_class, sym):
443443
(r'\rightbrace','}'),
444444
(r'\leftbracket','['),
445445
(r'\rightbracket',']'),
446+
(r'\langle','<'),
447+
(r'\rangle','>'),
446448
(r'\{','{'),
447449
(r'\}','}'),
448450
(r'\[','['),

‎lib/matplotlib/mpl-data/matplotlibrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268

269269
#font.serif: DejaVu Serif, Bitstream Vera Serif, Computer Modern Roman, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
270270
#font.sans-serif: DejaVu Sans, Bitstream Vera Sans, Computer Modern Sans Serif, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
271-
#font.cursive: Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, Comic Neue, Comic Sans MS, cursive
271+
#font.cursive:cmsy10,Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, Comic Neue, Comic Sans MS, cursive
272272
#font.fantasy: Chicago, Charcoal, Impact, Western, Humor Sans, xkcd, fantasy
273273
#font.monospace: DejaVu Sans Mono, Bitstream Vera Sans Mono, Computer Modern Typewriter, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
274274

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp