On Wednesday 11 April 2007 15:49, Eric Firing wrote:
> It is a bug that is fixed in svn.  The "this" part of the names is
> incorrect. The revised function is:
>
>
>      def xaxis_date(self, tz=None):
>          """Sets up x-axis ticks and labels that treat the x data as dates.
>
>          tz is the time zone to use in labeling dates.  Defaults to rc
> value.
>          """
>
>          locator = self.xaxis.get_major_locator()
>          if not isinstance(locator, DateLocator):
>              locator = AutoDateLocator(tz)
>              self.xaxis.set_major_locator(locator)
>
>          formatter = self.xaxis.get_major_formatter()
>          if not isinstance(formatter, DateFormatter):
>              formatter = AutoDateFormatter(locator)
>              self.xaxis.set_major_formatter(formatter)
>
>
> Similarly for yaxis_date.

Thank you!  That did the trick!

j

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to