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.