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

Skip to content

Commit c6a1bf5

Browse files
committed
Add substack command for mathtext
Co-Authored By: Kyle Sunden <[email protected]>
1 parent 9b301a4 commit c6a1bf5

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)