From 5a736f33d49f9b853e5d53ae1e3cdee185324e4a Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 28 Jun 2023 18:31:06 -0400 Subject: [PATCH] Re-export textpath types in text The former location was deprecated in 3.7, and accidentally removed earlier during some cleanup. --- lib/matplotlib/text.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/matplotlib/text.pyi b/lib/matplotlib/text.pyi index ff9f0314b7c9..67427f3e1068 100644 --- a/lib/matplotlib/text.pyi +++ b/lib/matplotlib/text.pyi @@ -4,6 +4,10 @@ from .font_manager import FontProperties from .offsetbox import DraggableAnnotation from .path import Path from .patches import FancyArrowPatch, FancyBboxPatch +from .textpath import ( # noqa: reexported API + TextPath as TextPath, + TextToPath as TextToPath, +) from .transforms import ( Bbox, BboxBase,