Revision: 8160
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8160&view=rev
Author:   mdboom
Date:     2010-02-26 16:27:22 +0000 (Fri, 26 Feb 2010)

Log Message:
-----------
Fix offset_copy: the fig argument should be optional.

Modified Paths:
--------------
    branches/v0_99_maint/lib/matplotlib/transforms.py

Modified: branches/v0_99_maint/lib/matplotlib/transforms.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/transforms.py   2010-02-26 16:04:49 UTC 
(rev 8159)
+++ branches/v0_99_maint/lib/matplotlib/transforms.py   2010-02-26 16:27:22 UTC 
(rev 8160)
@@ -2265,7 +2265,7 @@
         ((a < b) and (a < val and b > val))
         or (b < val and a > val))
 
-def offset_copy(trans, fig, x=0.0, y=0.0, units='inches'):
+def offset_copy(trans, fig=None, x=0.0, y=0.0, units='inches'):
     '''
     Return a new transform with an added offset.
       args:


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to