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

Skip to content

Commit 3dc3457

Browse files
committed
update changes
1 parent 7f65d6b commit 3dc3457

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,8 +2032,7 @@ def main(self, s, loc, toks):
20322032
return [Hlist(toks)]
20332033

20342034
def math_string(self, s, loc, toks):
2035-
return self._math_expression.parseString(toks[0][1:-1],
2036-
parseAll=True)
2035+
return self._math_expression.parseString(toks[0][1:-1], parseAll=True)
20372036

20382037
def math(self, s, loc, toks):
20392038
hlist = Hlist(toks)

lib/matplotlib/tests/test_mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def test_fontinfo():
349349
'double superscript',
350350
'double subscript',
351351
'super on sub without braces',
352-
'unclosed group'
352+
'unclosed group',
353353
]
354354
)
355355
def test_mathtext_exceptions(math, msg):

0 commit comments

Comments
 (0)