Skip to content

Commit 2f0c67f

Browse files
Update cyclic() docstring summary to include 'get' aspect
1 parent a868143 commit 2f0c67f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cf/mixin/fielddomain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ def coordinate_reference_domain_axes(self, identity=None):
19091909
def cyclic(
19101910
self, *identity, iscyclic=True, period=None, config={}, **filter_kwargs
19111911
):
1912-
"""Set the cyclicity of an axis.
1912+
"""Get or set the cyclicity of an axis.
19131913
19141914
.. versionadded:: 1.0
19151915

cf/mixin/propertiesdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2934,7 +2934,7 @@ def count_masked(self):
29342934
return data.count_masked()
29352935

29362936
def cyclic(self, axes=None, iscyclic=True):
2937-
"""Set the cyclicity of an axis.
2937+
"""Get or set the cyclicity of an axis.
29382938
29392939
.. seealso:: `iscyclic`
29402940

cf/mixin/propertiesdatabounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ def cos(self, bounds=True, inplace=False, i=False):
16071607
)
16081608

16091609
def cyclic(self, axes=None, iscyclic=True):
1610-
"""Set the cyclicity of axes of the data array.
1610+
"""Get or set the cyclicity of axes of the data array.
16111611
16121612
.. seealso:: `iscyclic`
16131613

0 commit comments

Comments
 (0)