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

Skip to content

Commit 1188b3c

Browse files
anntzerandrew-fennell
authored andcommitted
Don't allow r"$\left\\|\right.$", as in TeX.
AFAICT, (incorrect) support for the double-backslashed version was accidentally introduced in 027dd2c.
1 parent d41d513 commit 1188b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ class _MathStyle(enum.Enum):
16801680

16811681
_ambi_delim = set(r"""
16821682
| \| / \backslash \uparrow \downarrow \updownarrow \Uparrow
1683-
\Downarrow \Updownarrow . \vert \Vert \\|""".split())
1683+
\Downarrow \Updownarrow . \vert \Vert""".split())
16841684

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

0 commit comments

Comments
 (0)