parameters: (self, axis_name)
return_statement: return Axes(remaining_axes)
docstring: Creates a new Axes object without the given axis.
docstring_summary: Creates a new Axes object without the given axis.
docstring_tokens: Creates a new Axes object without the given axis .
function: def remove(self, axis_name):
      """Creates a new Axes object without the given axis."""
      if axis_name not in self:
        raise KeyError(axis_name)
      remaining_axes = [axis for axis in self.values() if axis.name != axis_name]
      return Axes(remaining_axes)
function_tokens: def remove ( self , axis_name ) : if axis_name not in self : raise KeyError ( axis_name ) remaining_axes = [ axis for axis in self . values ( ) if axis . name != axis_name ] return Axes ( remaining_axes )