Skip to content

Commit

Permalink
Merge pull request sunpy#600 from rosteen/fix-docstrings
Browse files Browse the repository at this point in the history
Fix docs build warnings and error
  • Loading branch information
Cadair authored Mar 8, 2023
2 parents e477d57 + 37e86fe commit 7c39ab3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ndcube/ndcube.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def axis_world_coords(self,
their corresponding array dimensions, unless ``pixel_corners=True``
in which case the length along each axis will be 1 greater than
the number of pixels.
Example
-------
Examples
--------
>>> NDCube.axis_world_coords('lat', 'lon') # doctest: +SKIP
>>> NDCube.axis_world_coords(2) # doctest: +SKIP
Expand Down Expand Up @@ -171,8 +171,8 @@ def axis_world_coords_values(self,
their corresponding array dimensions, unless ``pixel_corners=True``
in which case the length along each axis will be 1 greater than the number of pixels.
Example
-------
Examples
--------
>>> NDCube.axis_world_coords_values('lat', 'lon') # doctest: +SKIP
>>> NDCube.axis_world_coords_values(2) # doctest: +SKIP
Expand Down Expand Up @@ -214,8 +214,8 @@ def crop(self,
-------
result: `~ndcube..ndcube.NDCubeABC`
Example
-------
Examples
--------
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
Expand Down Expand Up @@ -266,8 +266,8 @@ def crop_by_values(self,
result: `~ndcube.ndcube.NDCubeABC`
Example
-------
Examples
--------
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 Expand Up @@ -710,9 +710,9 @@ def reproject_to(self, target_wcs, algorithm='interpolation', shape_out=None, re
See Also
--------
* `reproject.reproject_interp`
* `reproject.reproject_adaptive`
* `reproject.reproject_exact`
reproject.reproject_interp
reproject.reproject_adaptive
reproject.reproject_exact
Notes
-----
Expand Down

0 comments on commit 7c39ab3

Please sign in to comment.