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

Commit03041da

Browse files
jklymakmeeseeksmachine
authored andcommitted
Backport PRmatplotlib#21501: Refix for pyparsing compat.
1 parent532f424 commit03041da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lib/matplotlib/_mathtext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
frompyparsingimport (
1616
Combine,Empty,Forward,Group,Literal,oneOf,OneOrMore,
1717
Optional,ParseBaseException,ParseFatalException,ParserElement,
18-
ParseResults,QuotedString,Regex,StringEnd,Suppress,ZeroOrMore)
18+
ParseResults,QuotedString,Regex,StringEnd,Suppress,White,ZeroOrMore)
1919

2020
importmatplotlibasmpl
2121
from .import_api,cbook
@@ -2058,6 +2058,7 @@ def __init__(self):
20582058
p.accent<<=Group(
20592059
Suppress(p.bslash)
20602060
+oneOf([*self._accent_map,*self._wide_accents])
2061+
+Suppress(Optional(White()))
20612062
-p.placeable
20622063
)
20632064

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp