Revision: 8175
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8175&view=rev
Author: leejjoon
Date: 2010-03-03 18:03:30 +0000 (Wed, 03 Mar 2010)
Log Message:
-----------
fix arguments of allow_rasterization.draw_wrapper
Modified Paths:
--------------
branches/v0_99_maint/lib/matplotlib/artist.py
Modified: branches/v0_99_maint/lib/matplotlib/artist.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/artist.py 2010-03-03 17:15:58 UTC (rev 8174)
+++ branches/v0_99_maint/lib/matplotlib/artist.py 2010-03-03 18:03:30 UTC (rev 8175)
@@ -41,9 +41,9 @@
renderer.stop_rasterizing()
# the axes class has a second argument inframe for its draw method.
- def draw_wrapper(artist, renderer, *kl):
+ def draw_wrapper(artist, renderer, *args, **kwargs):
before(artist, renderer)
- draw(artist, renderer, *kl)
+ draw(artist, renderer, *args, **kwargs)
after(artist, renderer)
# "safe wrapping" to exactly replicate anything we haven't overridden above
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|