'Return the :class:`~matplotlib.axes.Axes` instance the artist
resides in, or *None*.
This has been deprecated in mpl 1.5, please use the
axes property.  Will be removed in 1.7 or 2.0.'

def get_axes(self):

    warnings.warn(_get_axes_msg.format(u'get_axes'), mplDeprecation, stacklevel=1)
    return self.axes
