def delaxes(*args):
if not len(args):<EOL><INDENT>ax = gca()<EOL><DEDENT>else:<EOL><INDENT>ax = args[<NUM_LIT:0>]<EOL><DEDENT>ret = gcf().delaxes(ax)<EOL>draw_if_interactive()<EOL>return ret<EOL>
``delaxes(ax)``: remove *ax* from the current figure.  If *ax*
doesn't exist, an error will be raised.

``delaxes()``: delete the current axes