diff --git a/lib/matplotlib/_mathtext.py b/lib/matplotlib/_mathtext.py index 6a1d9add9e8a..7085a986414e 100644 --- a/lib/matplotlib/_mathtext.py +++ b/lib/matplotlib/_mathtext.py @@ -521,7 +521,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', '['),