There was an error while loading. Please reload this page.
2 parents 532f424 + 03041da commit 76ee0efCopy full SHA for 76ee0ef
1 file changed
lib/matplotlib/_mathtext.py
@@ -15,7 +15,7 @@
15
from pyparsing import (
16
Combine, Empty, Forward, Group, Literal, oneOf, OneOrMore,
17
Optional, ParseBaseException, ParseFatalException, ParserElement,
18
- ParseResults, QuotedString, Regex, StringEnd, Suppress, ZeroOrMore)
+ ParseResults, QuotedString, Regex, StringEnd, Suppress, White, ZeroOrMore)
19
20
import matplotlib as mpl
21
from . import _api, cbook
@@ -2058,6 +2058,7 @@ def __init__(self):
2058
p.accent <<= Group(
2059
Suppress(p.bslash)
2060
+ oneOf([*self._accent_map, *self._wide_accents])
2061
+ + Suppress(Optional(White()))
2062
- p.placeable
2063
)
2064
0 commit comments