We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c518378 commit f51595fCopy full SHA for f51595f
lib/matplotlib/_mathtext.py
@@ -1802,8 +1802,11 @@ def __init__(self):
1802
def set_names_and_parse_actions():
1803
for key, val in vars(p).items():
1804
if not key.startswith('_'):
1805
- # Set names on everything -- very useful for debugging
1806
- val.setName(key)
+ # Set names on (almost) everything -- very useful for debugging
+ # token, placeable, and auto_delim are forward references which
1807
+ # are left without names to ensure useful error messages
1808
+ if key not in ("token", "placeable", "auto_delim"):
1809
+ val.setName(key)
1810
# Set actions
1811
if hasattr(self, key):
1812
val.setParseAction(getattr(self, key))
0 commit comments