summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authoryuki <drsuaimqjgar@gmail.com>2023-04-14 09:36:19 +0000
committeryuki <drsuaimqjgar@gmail.com>2023-04-14 10:00:41 +0000
commit0ad03f4da0567bbfb71196105f263df4220c00d8 (patch)
treef3a1ce97eccb01c01524e35bf1729143b991a76c /doc/source/reference
parenta39886909017c96972348e5de0eae207f6417505 (diff)
downloadnumpy-0ad03f4da0567bbfb71196105f263df4220c00d8.tar.gz
DOC: Fix module name of `autoattribute` in maskedarray document
Fixed the directive to set the module name to `numpy` using the same way as used in autosummary templates. Reducing two warnings (see gh-13114).
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/maskedarray.baseclass.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/source/reference/maskedarray.baseclass.rst b/doc/source/reference/maskedarray.baseclass.rst
index fcd310faa..7121914b9 100644
--- a/doc/source/reference/maskedarray.baseclass.rst
+++ b/doc/source/reference/maskedarray.baseclass.rst
@@ -72,19 +72,19 @@ Attributes and properties of masked arrays
.. seealso:: :ref:`Array Attributes <arrays.ndarray.attributes>`
-.. autoattribute:: MaskedArray.data
+.. autoattribute:: numpy::ma.MaskedArray.data
-.. autoattribute:: MaskedArray.mask
+.. autoattribute:: numpy::ma.MaskedArray.mask
-.. autoattribute:: MaskedArray.recordmask
+.. autoattribute:: numpy::ma.MaskedArray.recordmask
-.. autoattribute:: MaskedArray.fill_value
+.. autoattribute:: numpy::ma.MaskedArray.fill_value
-.. autoattribute:: MaskedArray.baseclass
+.. autoattribute:: numpy::ma.MaskedArray.baseclass
-.. autoattribute:: MaskedArray.sharedmask
+.. autoattribute:: numpy::ma.MaskedArray.sharedmask
-.. autoattribute:: MaskedArray.hardmask
+.. autoattribute:: numpy::ma.MaskedArray.hardmask
As :class:`MaskedArray` is a subclass of :class:`~numpy.ndarray`, a masked array also inherits all the attributes and properties of a :class:`~numpy.ndarray` instance.