'Remove the artist from the figure if possible.  The effect
will not be visible until the figure is redrawn, e.g., with
:meth:`matplotlib.axes.Axes.draw_idle`.  Call
:meth:`matplotlib.axes.Axes.relim` to update the axes limits
if desired.
Note: :meth:`~matplotlib.axes.Axes.relim` will not see
collections even if the collection was added to axes with
*autolim* = True.
Note: there is no support for removing the artist\'s legend entry.'

def remove(self):

    if (self._remove_method is not None):
        self._remove_method(self)
        self.stale_callback = None
        _ax_flag = False
        if (hasattr(self, u'axes') and self.axes):
            self.axes.mouseover_set.discard(self)
            self.axes.stale = True
            self.axes = None
            _ax_flag = True
        if self.figure:
            self.figure = None
            if (not _ax_flag):
                self.figure = True
    else:
        raise NotImplementedError(u'cannot    remove    artist')
