Skip to content

Commit

Permalink
Fix docstrings in regions/shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeil committed May 16, 2019
1 parent 579e5d2 commit ec40fb3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions regions/shapes/ellipse.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ def as_artist(self, origin=(0, 0), **kwargs):
"""
Matplotlib patch object for this region (`matplotlib.patches.Ellipse`).
Parameters:
-----------
Parameters
----------
origin : array_like, optional
The ``(x, y)`` pixel position of the origin of the displayed image.
Default is (0, 0).
Expand Down
4 changes: 2 additions & 2 deletions regions/shapes/line.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def as_artist(self, origin=(0, 0), **kwargs):
"""
Matplotlib patch object for this region (`matplotlib.patches.Arrow`).
Parameters:
-----------
Parameters
----------
origin : array_like, optional
The ``(x, y)`` pixel position of the origin of the displayed image.
Default is (0, 0).
Expand Down
4 changes: 2 additions & 2 deletions regions/shapes/polygon.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def as_artist(self, origin=(0, 0), **kwargs):
"""
Matplotlib patch object for this region (`matplotlib.patches.Polygon`).
Parameters:
-----------
Parameters
----------
origin : array_like, optional
The ``(x, y)`` pixel position of the origin of the displayed image.
Default is (0, 0).
Expand Down
4 changes: 2 additions & 2 deletions regions/shapes/rectangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def as_artist(self, origin=(0, 0), **kwargs):
"""
Matplotlib patch object for this region (`matplotlib.patches.Rectangle`).
Parameters:
-----------
Parameters
----------
origin : array_like, optional
The ``(x, y)`` pixel position of the origin of the displayed image.
Default is (0, 0).
Expand Down

0 comments on commit ec40fb3

Please sign in to comment.