def image_undo():
if len(image_undo_list) <= <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL>return<EOL><DEDENT>[image, Z] = image_undo_list.pop(-<NUM_LIT:1>)<EOL>image.set_array(Z)<EOL>_pylab.draw()<EOL>
Undoes the last coarsen or smooth command.