[SciPy-dev] scipy plt can only plot once?

eric jones ej at ee.duke.edu
Fri Oct 12 13:09:46 CDT 2001


----- Original Message -----
From: "Kevin Altis" <altis at semi-retired.com>
To: <scipy-dev at scipy.org>
Sent: Thursday, October 11, 2001 1:29 PM
Subject: RE: [SciPy-dev] scipy plt can only plot once?


> I'm new to scipy, but I'm trying out the tutorials with PythonCard (which
> uses wxPython 2.3.x) and PyCrust 0.6 as the shell. I get the following
error
> when I try the example as shown on the screenshots page.
>
> >>> from scipy import plt
> >>> from scipy import *
> >>> from RandomArray import normal
> >>> img = plt.lena()
> >>> plt.image(img)
> <wxPython imported>
> >>> Traceback (most recent call last):
>   File "<input>", line 1, in ?
>   File "C:\Python21\scipy\plt\interface.py", line 427, in image
>     axis('equal')
>   File "C:\Python21\scipy\plt\interface.py", line 174, in axis
>     x_ticks = _active.x_axis.ticks
> AttributeError: axis_window instance has no attribute 'ticks'

Hmm. I get this also.  If you simply type plt.image(img) again, it will show
up scaled correctly.  I'll look into this.

eric







More information about the Scipy-dev mailing list