Revision: 5784
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5784&view=rev
Author: jdh2358
Date: 2008-07-17 20:51:38 +0000 (Thu, 17 Jul 2008)
Log Message:
-----------
committed vineet's autodateformatter tz patch
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2008-07-17 19:38:32 UTC (rev
5783)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2008-07-17 20:51:38 UTC (rev
5784)
@@ -2095,7 +2095,7 @@
formatter = self.xaxis.get_major_formatter()
if not isinstance(formatter, mdates.DateFormatter):
- formatter = mdates.AutoDateFormatter(locator)
+ formatter = mdates.AutoDateFormatter(locator, tz)
self.xaxis.set_major_formatter(formatter)
def yaxis_date(self, tz=None):
@@ -2132,7 +2132,7 @@
formatter = self.xaxis.get_major_formatter()
if not isinstance(formatter, mdates.DateFormatter):
- formatter = mdates.AutoDateFormatter(locator)
+ formatter = mdates.AutoDateFormatter(locator, tz)
self.yaxis.set_major_formatter(formatter)
def format_xdata(self, x):
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins