Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc7ed90

Browse files
committed
Update docstring format
1 parent 33d56d8 commit bc7ed90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/patches.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ def contains(self, mouseevent, radius=None):
143143

144144
def contains_point(self, point, radius=None):
145145
"""
146-
Returns `True` if the given point is inside the path
146+
Returns `True` if the given *point* is inside the path
147147
(transformed with its transform attribute).
148148
149-
`radius` allows the path to be made slightly larger or smaller.
149+
*radius* allows the path to be made slightly larger or smaller.
150150
"""
151151
radius = self._process_radius(radius)
152152
return self.get_path().contains_point(point,
@@ -158,8 +158,8 @@ def contains_points(self, points, radius=None):
158158
Returns a bool array which is `True` if the (closed) path contains the corresponding point.
159159
(transformed with its transform attribute).
160160
161-
`points` should be an N x 2 array.
162-
`radius` allows the path to be made slightly larger or smaller.
161+
*points* should be an N x 2 array.
162+
*radius* allows the path to be made slightly larger or smaller.
163163
"""
164164
radius = self._process_radius(radius)
165165
return self.get_path().contains_points(points,

0 commit comments

Comments
 (0)