Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5725b2c

Browse files
committed
Merge pull request #4300 from mdboom/mathtext-vert
ENH : Add support for \left\Vert etc. close #4299
2 parents bf6e86d + fbf48ad commit 5725b2c

12 files changed

Lines changed: 402 additions & 3 deletions

lib/matplotlib/_mathtext_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
r'\chi' : ('cmmi10', 17),
9797
r'\psi' : ('cmmi10', 31),
9898
r'|' : ('cmsy10', 47),
99-
r'\|' : ('cmsy10', 47),
99+
r'\|' : ('cmsy10', 44),
100100
r'(' : ('cmr10', 119),
101101
r'\leftparen' : ('cmr10', 119),
102102
r'\rightparen' : ('cmr10', 68),

lib/matplotlib/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ class Parser(object):
21122112

21132113
_ambi_delim = set("""
21142114
| \\| / \\backslash \\uparrow \\downarrow \\updownarrow \\Uparrow
2115-
\\Downarrow \\Updownarrow .""".split())
2115+
\\Downarrow \\Updownarrow . \\vert \\Vert \\\\|""".split())
21162116

21172117
_left_delim = set(r"( [ \{ < \lfloor \langle \lceil".split())
21182118

Binary file not shown.
1.49 KB
Loading
Lines changed: 160 additions & 0 deletions
Loading
Binary file not shown.
1.55 KB
Loading
Lines changed: 127 additions & 0 deletions
Loading
Binary file not shown.
1.53 KB
Loading

0 commit comments

Comments
 (0)