Skip to content

Commit

Permalink
Merge pull request #257 from cdeil/sphinx
Browse files Browse the repository at this point in the history
Fix docstring formatting
  • Loading branch information
cdeil committed May 16, 2019
2 parents 75bc04d + ec40fb3 commit 79faa3c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ About
This is an astropy-affiliated package for region handling.

* Code : https://github.com/astropy/regions
* Docs : http://astropy-regions.readthedocs.io
* Docs : https://astropy-regions.readthedocs.io

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 79faa3c

Please sign in to comment.