From 0c851bfb3119d90c95a206f76b5277263fd61694 Mon Sep 17 00:00:00 2001 From: eeshsaxena Date: Fri, 3 Jul 2026 17:05:53 +0530 Subject: [PATCH] DOC fix parameter name in CharacterMapping.add docstring glyph -> glyph_index to match the actual function signature --- lib/matplotlib/backends/_backend_pdf_ps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/backends/_backend_pdf_ps.py b/lib/matplotlib/backends/_backend_pdf_ps.py index 87fbae4d749b..9675a3e74f8c 100644 --- a/lib/matplotlib/backends/_backend_pdf_ps.py +++ b/lib/matplotlib/backends/_backend_pdf_ps.py @@ -149,7 +149,7 @@ def add(self, charcode: str, glyph_index: GlyphIndexType, subset: int, ---------- charcode : CharacterCodeType The character code to record. - glyph : GlyphIndexType + glyph_index : GlyphIndexType The corresponding glyph index to record. subset : int The subset in which the subset character code resides.