From a8fb6746c001b9f27815f6f7f0ca345f19c532af Mon Sep 17 00:00:00 2001 From: Adrian Damian Date: Mon, 10 Jun 2024 13:34:22 -0700 Subject: [PATCH] Fixed doc --- docs/alma/alma.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/alma/alma.rst b/docs/alma/alma.rst index aad91ce6b3..96d668a04f 100644 --- a/docs/alma/alma.rst +++ b/docs/alma/alma.rst @@ -304,8 +304,6 @@ shape, etc. (Note: this require the `regions` Python package to be installed. .. doctest-remote-data:: -.. plot:: - :include-source >>> from astroquery.alma import Alma, get_enhanced_table >>> alma = Alma() @@ -324,6 +322,11 @@ shape, etc. (Note: this require the `regions` Python package to be installed. To further draw the footprint: +.. code-block:: python + +.. plot:: + :include-source + >>> from astropy import wcs >>> import matplotlib.pyplot as plt >>> # Create a WCS; for plotting, all that matters is that it is centered on our target region