'Compatibility hook for Matplotlib and WCSAxes.
With this method, one can do:
from astropy.wcs import WCS
import matplotlib.pyplot as plt
wcs = WCS(\'filename.fits\')
fig = plt.figure()
ax = fig.add_axes([0.15, 0.1, 0.8, 0.8], projection=wcs)
and this will generate a plot with the correct WCS coordinates on the
axes.'

def _as_mpl_axes(self):

    from ..visualization.wcsaxes import WCSAxes
    return (WCSAxes, {u'wcs': self})
