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

Skip to content

Commit 3b1700c

Browse files
committed
Correct patheffects doc
1 parent 32b6ebb commit 3b1700c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/patheffects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ def draw_path(self, renderer, gc, tpath, affine, rgbFace):
180180
181181
With this class you can use ::
182182
183-
artist.set_path_effects([path_effects.with{effect_class.__name__}()])
183+
artist.set_path_effects([patheffects.with{effect_class.__name__}()])
184184
185185
as a shortcut for ::
186186
187-
artist.set_path_effects([path_effects.{effect_class.__name__}(),
188-
path_effects.Normal()])
187+
artist.set_path_effects([patheffects.{effect_class.__name__}(),
188+
patheffects.Normal()])
189189
"""
190190
# Docstring inheritance doesn't work for locally-defined subclasses.
191191
withEffect.draw_path.__doc__ = effect_class.draw_path.__doc__

0 commit comments

Comments
 (0)