From: Shin <sd...@em...> - 2004-08-16 21:09:40
|
Following the docstring of matplotlib.dates, I tried the following commands, but failed. It says there is no argument needed when constructing PyDatetimeConverter object. If it is true, how about correcting it right away because the document is only one explaining its usage? Python 2.3.3 (#2, Feb 17 2004, 11:45:40) Type "copyright", "credits" or "license" for more information. IPython 0.6.1.rc1 -- An enhanced Interactive Python. ? -> Introduction to IPython's features. @magic -> Information about IPython's 'magic' @ functions. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. In [1]: from matplotlib.dates import PyDatetimeConverter In [3]: from matplotlib.dates import Eastern In [4]: converter=PyDatetimeConverter(Eastern) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/sdhyok/catchlab/catchlab/catchlab/pkg/rhessys/test/<console> TypeError: this constructor takes no arguments -- Daehyok Shin (Peter) Geography Department Univ. of North Carolina-Chapel Hill |