[IPython-user] crash report

Darren Dale dd55 at cornell.edu
Sat Feb 19 12:18:44 CST 2005


I am using ipython -pylab, and can reproduce this error with the following 
unusual steps:

a=rand(500,500)
figimage(a)
ax=gca()
ax.set_position([0,1,0,1]) # this is should be [0,0,1,1]
draw()
# traceback here, thats expected...
# fix my mistake
ax.set_position([0,0,1,1])
# now moving the mouse pointer over the image causes the crash report to be 
generated.

The first call to set_position I got the order confused with imshow's extent, 
which is [xmin,xmax,ymin,ymax] instead of the usual [xmin,ymin,dx,dy]. Like I 
said, its a bizarre set of circumstances, but I thought I should report it.

-- 

Darren




More information about the IPython-user mailing list