|
From: <ry...@us...> - 2009-10-14 20:27:14
|
Revision: 7884
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7884&view=rev
Author: ryanmay
Date: 2009-10-14 20:27:07 +0000 (Wed, 14 Oct 2009)
Log Message:
-----------
Add AutoDateFormatter and AutoDateLocator to __all__ and to the module-level documentation.
Modified Paths:
--------------
branches/v0_99_maint/lib/matplotlib/dates.py
Modified: branches/v0_99_maint/lib/matplotlib/dates.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/dates.py 2009-10-14 17:37:41 UTC (rev 7883)
+++ branches/v0_99_maint/lib/matplotlib/dates.py 2009-10-14 20:27:07 UTC (rev 7884)
@@ -72,11 +72,18 @@
arbitrary date tick specifications. See `rrule example
<../examples/pylab_examples/date_demo_rrule.html>`_.
+ * :class:`AutoDateLocator`: On autoscale, this class picks the best
+ :class:`MultipleDateLocator` to set the view limits and the tick
+ locations.
+
Date formatters
---------------
Here all all the date formatters:
+ * :class:`AutoDateFormatter`: attempts to figure out the best format
+ to use. This is most useful when used with the :class:`AutoDateLocator`.
+
* :class:`DateFormatter`: use :func:`strftime` format strings
* :class:`IndexDateFormatter`: date plots with implicit *x*
@@ -109,8 +116,9 @@
__all__ = ( 'date2num', 'num2date', 'drange', 'epoch2num',
'num2epoch', 'mx2num', 'DateFormatter',
- 'IndexDateFormatter', 'DateLocator', 'RRuleLocator',
- 'YearLocator', 'MonthLocator', 'WeekdayLocator',
+ 'IndexDateFormatter', 'AutoDateFormatter', 'DateLocator',
+ 'RRuleLocator', 'AutoDateLocator', 'YearLocator',
+ 'MonthLocator', 'WeekdayLocator',
'DayLocator', 'HourLocator', 'MinuteLocator',
'SecondLocator', 'rrule', 'MO', 'TU', 'WE', 'TH', 'FR',
'SA', 'SU', 'YEARLY', 'MONTHLY', 'WEEKLY', 'DAILY',
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|