diff --git a/lib/matplotlib/patheffects.py b/lib/matplotlib/patheffects.py index f9989f89454f..99ca11eff6f6 100644 --- a/lib/matplotlib/patheffects.py +++ b/lib/matplotlib/patheffects.py @@ -174,6 +174,7 @@ def draw_path(self, renderer, gc, tpath, affine, rgbFace): renderer.draw_path(gc, tpath, affine, rgbFace) withEffect.__name__ = f"with{effect_class.__name__}" + withEffect.__qualname__ = f"with{effect_class.__name__}" withEffect.__doc__ = f""" A shortcut PathEffect for applying `.{effect_class.__name__}` and then drawing the original Artist.