error with ginput


ginput isn't working for me right now but was when i was using 0.98.3.
running the script below gives me the following traceback.
anyone know what is going on?


> python -c "import matplotlib;print matplotlib.__version__"

> ./
Please click
Traceback (most recent call last):
   File "./", line 7, in <module>
     x = ginput(3)
   File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/matplotlib/", line 358, in ginput
     return gcf().ginput(*args, **kwargs)
   File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/matplotlib/", line 1073, in ginput
   File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/matplotlib/", line 258, in __call__
   File "/Library/Frameworks/Python.framework/Versions/4.1.30101/lib/python2.5/site-packages/matplotlib/", line 96, in __call__
AttributeError: 'Figure' object has no attribute 'show'

from pylab import arange, plot, sin, ginput, show
t = arange(10)
plot(t, sin(t))
print "Please click"
x = ginput(3)
print "clicked",x