Skip to content

Commit

Permalink
Merge branch 'main' into register_template
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Apr 22, 2024
2 parents 2ed8b11 + 53baf44 commit 55c4272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ docs/_build
docs/generated
docs/api
docs/whatsnew/latest_changelog.txt
docs/sg_execution_times.rst
examples/**/*.asdf
examples/**/*.csv
figure_test_images*
Expand Down
5 changes: 2 additions & 3 deletions ndcube/ndcube.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,10 @@ def crop(self,
Examples
--------
An example of cropping a region of interest on the Sun from a 3-D image-time cube:
>>> # An example of cropping a region of interest on the Sun from a 3-D image-time cube
>>> point1 = [SkyCoord(-50*u.deg, -40*u.deg, frame=frames.HeliographicStonyhurst), None] # doctest: +SKIP
>>> point2 = [SkyCoord(0*u.deg, -6*u.deg, frame=frames.HeliographicStonyhurst), None] # doctest: +SKIP
>>> NDCube.crop(point1, point2) # doctest: +SKIP
"""

@abc.abstractmethod
Expand Down Expand Up @@ -268,7 +267,7 @@ def crop_by_values(self,
Examples
--------
An example of cropping a region of interest on the Sun from a 3-D image-time cube:
>>> # An example of cropping a region of interest on the Sun from a 3-D image-time cube
>>> NDCube.crop_by_values((-600, -600, 0), (0, 0, 0), units=(u.arcsec, u.arcsec, u.s)) # doctest: +SKIP
"""

Expand Down

0 comments on commit 55c4272

Please sign in to comment.