Skip to content

Commit ef0304e

Browse files
Backport PR #909: We can't use expanding-code-block in docstrings (#910)
Co-authored-by: Stuart Mumford <[email protected]>
1 parent 2cea20f commit ef0304e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ndcube/ndcube.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,8 +1550,7 @@ def to_nddata(self,
15501550
15511551
Examples
15521552
--------
1553-
.. expanding-code-block:: python
1554-
:summary: Expand to see cube instantiated.
1553+
.. testsetup::
15551554
15561555
>>> import astropy.units as u
15571556
>>> import astropy.wcs

0 commit comments

Comments
 (0)