From: Michael H. <ha...@na...> - 2004-06-10 23:41:00
|
Hello, I am having a problem with plot_date. I keep getting the error: File "E:\Python23\Lib\site-packages\matplotlib\axis.py", line 567, in get_minor_ticks numticks = len(self._minorLocator()) TypeError: __call__() takes exactly 3 arguments (1 given) I'm using Python 2.3.2, Numeric 23.1, and matplotlib 0.54.2. Here's a short example that exhibits the problem behavior: ----------------------------- from datetime import datetime from matplotlib.dates import EpochConverter from matplotlib.matlab import * times = [1084195314, 1084195375, 1084195436, 1084195497, 1084195557] vals = [10.2, 11.1, 8.7] converter = EpochConverter() ax = subplot(111) plot_date(times, vals, converter) show() ----------------------------- Am I missing something obvious? Thanks. Michael Hauser |