Revision: 6924
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6924&view=rev
Author:   efiring
Date:     2009-02-21 20:14:08 +0000 (Sat, 21 Feb 2009)

Log Message:
-----------
Add new axis arguments to units.py docstring

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/units.py

Modified: trunk/matplotlib/lib/matplotlib/units.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/units.py    2009-02-21 19:06:58 UTC (rev 
6923)
+++ trunk/matplotlib/lib/matplotlib/units.py    2009-02-21 20:14:08 UTC (rev 
6924)
@@ -19,12 +19,12 @@
     class DateConverter(units.ConversionInterface):
 
         @staticmethod
-        def convert(value, unit):
+        def convert(value, unit, axis):
             'convert value to a scalar or array'
             return dates.date2num(value)
 
         @staticmethod
-        def axisinfo(unit):
+        def axisinfo(unit, axis):
             'return major and minor tick locators and formatters'
             if unit!='date': return None
             majloc = dates.AutoDateLocator()
@@ -34,7 +34,7 @@
                             label='date')
 
         @staticmethod
-        def default_units(x):
+        def default_units(x, axis):
             'return the default unit for x or None'
             return 'date'
 


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

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to