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

Skip to content

Commit 94b7538

Browse files
committed
fix arguments of allow_rasterization.draw_wrapper
svn path=/branches/v0_99_maint/; revision=8175
1 parent 31f0f09 commit 94b7538

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/artist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ def after(artist, renderer):
4141
renderer.stop_rasterizing()
4242

4343
# the axes class has a second argument inframe for its draw method.
44-
def draw_wrapper(artist, renderer, *kl):
44+
def draw_wrapper(artist, renderer, *args, **kwargs):
4545
before(artist, renderer)
46-
draw(artist, renderer, *kl)
46+
draw(artist, renderer, *args, **kwargs)
4747
after(artist, renderer)
4848

4949
# "safe wrapping" to exactly replicate anything we haven't overridden above

0 commit comments

Comments
 (0)