Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eaf7e8f

Browse files
authored
Merge pull request #17525 from tacaswell/doc_fix_build
DOC/API: set __qualname__ when using class factory
2 parents a5a4324 + bd8c6a2 commit eaf7e8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/patheffects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def draw_path(self, renderer, gc, tpath, affine, rgbFace):
174174
renderer.draw_path(gc, tpath, affine, rgbFace)
175175

176176
withEffect.__name__ = f"with{effect_class.__name__}"
177+
withEffect.__qualname__ = f"with{effect_class.__name__}"
177178
withEffect.__doc__ = f"""
178179
A shortcut PathEffect for applying `.{effect_class.__name__}` and then
179180
drawing the original Artist.

0 commit comments

Comments
 (0)