1
0
python-matplotlib/pyparsing-workaround-setName.patch

14 lines
646 B
Diff
Raw Normal View History

Index: matplotlib-3.6.3/lib/matplotlib/_mathtext.py
===================================================================
--- matplotlib-3.6.3.orig/lib/matplotlib/_mathtext.py
+++ matplotlib-3.6.3/lib/matplotlib/_mathtext.py
@@ -1794,7 +1794,7 @@ class Parser:
for key, val in vars(p).items():
if not key.startswith('_'):
# Set names on everything -- very useful for debugging
- val.setName(key)
+ #val.setName(key)
# Set actions
if hasattr(self, key):
val.setParseAction(getattr(self, key))