Skip to content

Commit 4b87399

Browse files
committed
Cleanup empty code cells from docs
1 parent 7410f57 commit 4b87399

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

docs/irsa/irsa.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ All region queries require a ``catalog`` keyword argument, which is the name of
2323
the catalog in the IRSA database, on which the query must be performed. To take
2424
a look at all the available catalogs:
2525

26-
.. code-block:: python
2726
.. doctest-remote-data::
2827

2928
>>> from astroquery.irsa import Irsa
@@ -41,7 +40,6 @@ a look at all the available catalogs:
4140
This returns a dictionary of catalog names with their description. If you would
4241
rather just print out this information:
4342

44-
.. code-block:: python
4543
.. doctest-remote-data::
4644

4745
>>> from astroquery.irsa import Irsa
@@ -64,7 +62,6 @@ missing, it defaults to a value of 10 arcsec. The radius may be specified in
6462
any appropriate unit using a `~astropy.units.Quantity` object. It may also be
6563
entered as a string that is parsable by `~astropy.coordinates.Angle`.
6664

67-
.. code-block:: python
6865
.. doctest-remote-data::
6966

7067
>>> from astroquery.irsa import Irsa
@@ -89,7 +86,6 @@ name. The coordinates can be specified using the appropriate
8986
`astropy.coordinates` object. ICRS coordinates may also be entered directly as
9087
a string, as specified by `astropy.coordinates`:
9188

92-
.. code-block:: python
9389
.. doctest-remote-data::
9490

9591
>>> from astroquery.irsa import Irsa
@@ -120,7 +116,6 @@ region is required. The width may be specified in the same way as the radius
120116
for cone search queries, above - so it may be set using the appropriate
121117
`~astropy.units.Quantity` object or a string parsable by `~astropy.coordinates.Angle`.
122118

123-
.. code-block:: python
124119
.. doctest-remote-data::
125120

126121
>>> from astroquery.irsa import Irsa
@@ -152,7 +147,6 @@ the coordinates is also available - Coordinates may also be entered as a list of
152147
tuples, each tuple containing the ra and dec values in degrees. Each of these
153148
options is illustrated below:
154149

155-
.. code-block:: python
156150
.. doctest-remote-data::
157151

158152
>>> from astroquery.irsa import Irsa
@@ -177,7 +171,6 @@ options is illustrated below:
177171
Another way to specify the polygon is directly as a list of tuples - each tuple
178172
is an ra, dec pair expressed in degrees:
179173

180-
.. code-block:: python
181174
.. doctest-remote-data::
182175

183176
>>> from astroquery.irsa import Irsa
@@ -209,7 +202,6 @@ An example where the AllWISE Source Catalog needs to be queried around the
209202
star HIP 12 with just the ra, dec and w1mpro columns would be:
210203

211204

212-
.. code-block:: python
213205
.. doctest-remote-data::
214206

215207
>>> from astroquery.irsa import Irsa
@@ -235,7 +227,6 @@ not only the display of columns, but also the precision that is output when the
235227
is written in ``ascii.ipac`` or ``ascii.csv`` formats. The ``.format`` attribute of
236228
individual columns may be set to increase the precision.
237229

238-
.. code-block:: python
239230
.. doctest-remote-data::
240231

241232
>>> from astroquery.irsa import Irsa
@@ -256,7 +247,6 @@ By default the maximum number of rows that is fetched is set to 500. However,
256247
this option may be changed by changing the astroquery configuration file. To
257248
change the setting only for the ongoing python session, you could also do:
258249

259-
.. code-block:: python
260250

261251
>>> from astroquery.irsa import Irsa
262252
>>> Irsa.ROW_LIMIT = 1000 # 1000 is the new value for row limit here.

docs/irsa_dust/irsa_dust.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ specified. If missing the radius defaults to 5 degrees. Note that radius may be
2020
specified in any appropriate unit, however it must fall in the range of 2 to
2121
37.5 degrees.
2222

23-
.. code-block:: python
2423
.. doctest-remote-data::
2524

2625
>>> from astroquery.irsa_dust import IrsaDust
@@ -43,7 +42,6 @@ to the :meth:`~astroquery.irsa_dust.IrsaDustClass.get_images` method. It can tak
4342
``ebv``, ``100um`` and ``temperature``, corresponding to each of the 3 kinds of
4443
images:
4544

46-
.. code-block:: python
4745
.. doctest-remote-data::
4846

4947
>>> from astroquery.irsa_dust import IrsaDust
@@ -56,7 +54,6 @@ images:
5654

5755
The image types that are available can also be listed out any time:
5856

59-
.. code-block:: python
6057
.. doctest-remote-data::
6158

6259
>>> from astroquery.irsa_dust import IrsaDust
@@ -66,7 +63,6 @@ The image types that are available can also be listed out any time:
6663
The target may also be specified via coordinates passed as strings. Examples of acceptable coordinate
6764
strings can be found on this `IRSA DUST coordinates description page`_.
6865

69-
.. code-block:: python
7066
.. doctest-remote-data::
7167

7268
>>> from astroquery.irsa_dust import IrsaDust
@@ -86,7 +82,6 @@ than the actual images, via the :meth:`~astroquery.irsa_dust.IrsaDustClass.get_i
8682
supports the ``image_type`` argument, in the same way as described for
8783
:meth:`~astroquery.irsa_dust.IrsaDustClass.get_images`.
8884

89-
.. code-block:: python
9085
.. doctest-remote-data::
9186

9287
>>> from astroquery.irsa_dust import IrsaDust
@@ -107,7 +102,6 @@ This fetches the extinction table as a `~astropy.table.Table`. The input paramet
107102
the queries discussed above, namely the target string and optionally a radius
108103
value:
109104

110-
.. code-block:: python
111105
.. doctest-remote-data::
112106

113107
>>> from astroquery.irsa_dust import IrsaDust
@@ -155,7 +149,6 @@ additional section ``location`` may be fetched using the ``section`` keyword
155149
argument. If on the other hand, ``section`` is missing then the complete table
156150
with all the four sections will be returned.
157151

158-
.. code-block:: python
159152
.. doctest-remote-data::
160153

161154
>>> from astroquery.irsa_dust import IrsaDust

0 commit comments

Comments
 (0)