diff --git a/lib/matplotlib/_mathtext.py b/lib/matplotlib/_mathtext.py index 6f5bfcdf1c12..ae230703faed 100644 --- a/lib/matplotlib/_mathtext.py +++ b/lib/matplotlib/_mathtext.py @@ -515,7 +515,7 @@ def _get_glyph(self, fontname: str, font_class: str, } for alias, target in [(r'\leftparen', '('), - (r'\rightparent', ')'), + (r'\rightparen', ')'), (r'\leftbrace', '{'), (r'\rightbrace', '}'), (r'\leftbracket', '['),