|
From: <ry...@us...> - 2010-04-20 20:02:44
|
Revision: 8258
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8258&view=rev
Author: ryanmay
Date: 2010-04-20 20:02:38 +0000 (Tue, 20 Apr 2010)
Log Message:
-----------
Fix dumb bug in timer calling callbacks with args.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backend_bases.py
Modified: trunk/matplotlib/lib/matplotlib/backend_bases.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backend_bases.py 2010-04-20 20:01:28 UTC (rev 8257)
+++ trunk/matplotlib/lib/matplotlib/backend_bases.py 2010-04-20 20:02:38 UTC (rev 8258)
@@ -984,7 +984,7 @@
are no callbacks, the timer is automatically stopped.
'''
for func,args in self.callbacks:
- ret = func(args)
+ ret = func(*args)
if ret == False:
self.callbacks.remove((func,args))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|