8000 Add substack command for mathtext · matplotlib/matplotlib@52f5b92 · GitHub
[go: up one dir, main page]

Skip to content

Commit 52f5b92

Browse files
committed
Add substack command for mathtext
Co-Authored By: Kyle Sunden <git@ksunden.space>
1 parent 8205da1 commit 52f5b92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
from .font_manager import FontProperties, findfont, get_font
2828
from .ft2font import FT2Image, KERNING_DEFAULT
2929

30-
from pyparsing import __version_info__ as pyparsing_version
31-
if pyparsing_version < (3, 0):
30+
from pyparsing import __version__ as pyparsing_version
31+
if pyparsing_version < '3.0.0':
3232
from pyparsing import nestedExpr as nested_expr
3333
else:
3434
from pyparsing import nested_expr

0 commit comments

Comments
 (0)
0