Skip to content

Commit

Permalink
Docstring consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
stefmolin committed Nov 25, 2024
1 parent 9e9740a commit aea1c42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/data_morph/shapes/points/club.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _get_arc(
Returns
-------
tuple[np.ndarray, np.ndarray]
tuple[numpy.ndarray, numpy.ndarray]
The *x* and *y* coordinates for the arc.
"""
x = r * np.cos(t + angle_offset) + x_offset
Expand All @@ -91,7 +91,7 @@ def _get_lobes(
Returns
-------
tuple[list[np.ndarray], list[np.ndarray]]
tuple[list[numpy.ndarray], list[numpy.ndarray]]
The *x* and *y* coordinates for the lobes.
"""
radius = 15 * scale_factor
Expand Down Expand Up @@ -128,7 +128,7 @@ def _get_stem(
Returns
-------
tuple[list[np.ndarray], list[np.ndarray]]
tuple[list[numpy.ndarray], list[numpy.ndarray]]
The *x* and *y* coordinates for the stem.
"""
stem_x_offset = 8 * scale_factor
Expand Down
4 changes: 2 additions & 2 deletions src/data_morph/shapes/points/spade.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _get_inverted_heart(dataset: Dataset, y_shift: Number) -> np.ndarray:
Returns
-------
np.ndarray
numpy.ndarray
The points for the upside-down heart.
See Also
Expand Down Expand Up @@ -91,7 +91,7 @@ def _get_base(
Returns
-------
tuple[np.ndarray, np.ndarray]
tuple[numpy.ndarray, numpy.ndarray]
The *x* and *y* coordinates for the base of the spade.
"""
# line base
Expand Down

0 comments on commit aea1c42

Please sign in to comment.