From 2d55f3854010e4662dc3fd28dbc589d59ee7aad1 Mon Sep 17 00:00:00 2001 From: David Lowry-Duda Date: Wed, 16 Apr 2025 14:39:21 -0400 Subject: [PATCH] Correct rightparen typo This refers to latex "rightparen", not "rightparent". --- lib/matplotlib/_mathtext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', '['),