Revision: 4585
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4585&view=rev
Author: jswhit
Date: 2007-12-04 11:29:49 -0800 (Tue, 04 Dec 2007)
Log Message:
-----------
docstring additions
Modified Paths:
--------------
trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
Modified: trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
===================================================================
--- trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
2007-12-04 19:18:03 UTC (rev 4584)
+++ trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
2007-12-04 19:29:49 UTC (rev 4585)
@@ -2862,8 +2862,13 @@
"""
Return datetime objects given numeric time values. The units
of the numeric time values are described by the units argument
- and the calendar keyword.
+ and the calendar keyword. The time zone is assumed to be UTC.
+ Like the matplotlib num2date function, except that it allows
+ for different units and calendars. Behaves the same if
+ units = 'days since 0001-01-01 00:00:00' and
+ calendar = 'proleptic_gregorian'.
+
Arguments:
times - numeric time values. Maximum resolution is 1 second.
@@ -2897,8 +2902,13 @@
"""
Return numeric time values given datetime objects. The units
of the numeric time values are described by the units argument
- and the calendar keyword.
+ and the calendar keyword. The time zone is assumed to UTC.
+ Like the matplotlib date2num function, except that it allows
+ for different units and calendars. Behaves the same if
+ units = 'days since 0001-01-01 00:00:00' and
+ calendar = 'proleptic_gregorian'.
+
Arguments:
dates - A datetime object or a sequence of datetime objects.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins