def image_set_aspect(aspect=<NUM_LIT:1.0>, axes="<STR_LIT>"):
if axes is "<STR_LIT>": axes = _pylab.gca()<EOL>e = axes.get_images()[<NUM_LIT:0>].get_extent()<EOL>axes.set_aspect(abs((e[<NUM_LIT:1>]-e[<NUM_LIT:0>])/(e[<NUM_LIT:3>]-e[<NUM_LIT:2>]))/aspect)<EOL>
sets the aspect ratio of the current zoom level of the imshow image