Skip to content

Commit 1e4c8a2

Browse files
authored
Merge pull request #823 from sunpy/doc
2 parents 9e5a11d + 663a43d commit 1e4c8a2

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ New Features
2222
- Added `~ndcube.NDCube.quantity` attribute to `~ndcube.NDCube` to return the data array with in the cube with the physical units stored in the `~ndcube.NDCube.unit` attribute. (`#677 <https://github.com/sunpy/ndcube/pull/677>`__)
2323
- Enable `~ndcube.NDCube` to be raised to a power. (`#678 <https://github.com/sunpy/ndcube/pull/678>`__)
2424
- Added `ndcube.NDCube.shape` as a replacement for "dimensions". (`#684 <https://github.com/sunpy/ndcube/pull/684>`__)
25-
- Enable rtruediv on`~ndcube.NDCube` such that a user can now do 1/`~ndcube.NDCube`. (`#685 <https://github.com/sunpy/ndcube/pull/685>`__)
25+
- Enable rtruediv on `~ndcube.NDCube` such that a user can now do 1/ `~ndcube.NDCube`. (`#685 <https://github.com/sunpy/ndcube/pull/685>`__)
2626
- Add a ``keepdims=False`` kwarg to `~ndcube.NDCube.crop` and `~ndcube.NDCube.crop_by_values` setting to true keeps length-1 dimensions default behavior drops these dimensions. (`#732 <https://github.com/sunpy/ndcube/pull/732>`__)
2727
- When calling :meth:`ndcube.NDCubeBase.axis_world_coords` or :meth:`ndcube.NDCubeBase.axis_world_coords_values` with a
2828
specific axis or axes specified, the methods now avoid doing calculations for any other uncorrelated axes, offering

docs/nitpick-exceptions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ py:class None. Remove all items from D.
1818
py:class a shallow copy of D
1919
py:class v, remove specified key and return the corresponding value.
2020
py:class None. Update D from mapping/iterable E and F.
21+
# Comes from astropy? psf
22+
py:obj ndarray

ndcube/ndcube.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,11 +409,12 @@ def __init__(self, data, wcs=None, uncertainty=None, mask=None, meta=None,
409409
@property
410410
def data(self):
411411
"""
412-
`~numpy.ndarray`-like : The stored dataset.
412+
`~numpy.ndarray` - like
413+
The stored dataset.
413414
414415
Notes
415416
-----
416-
It is possible to set the ``.data`` attribute on a `NDCube` with an
417+
It is possible to set the ``.data`` attribute on a `~ndcube.NDCube` with an
417418
array-like object of the same shape. However, this is really only
418419
intended for replacing the data with a different object representing
419420
the same physical data as no other properties of the cube will be

0 commit comments

Comments
 (0)