Skip to content

Commit 8aedadc

Browse files
committed
line length
1 parent 2b23322 commit 8aedadc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mpl_point_clicker/_clicker.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ def set_positions(self, positions):
114114
----------
115115
positions : dict
116116
A dictionary with strings as keys and 2D array-like values. The values
117-
will be interpreted as (N, 2) with x, y as the columns. The keys in the dictionary
118-
must all be valid classes. If a class is not included in *positions* then the existing
119-
values will not be modified.
117+
will be interpreted as (N, 2) with x, y as the columns. The keys in
118+
the dictionary must all be valid classes. If a class is not included in
119+
*positions* then the existing values will not be modified.
120120
"""
121121
# check all keys first so we don't partially overwrite data
122122
for k in positions.keys():
@@ -218,9 +218,9 @@ def on_point_added(self, func):
218218
def on_point_removed(self, func):
219219
"""
220220
Connect *func* as a callback function when points are removed.
221-
*func* will receive the the position of the new point, the class of the removed point,
222-
the point's index in the old list of points of that class, and the updated dictionary of
223-
all points.
221+
*func* will receive the the position of the new point, the class of the removed
222+
point, the point's index in the old list of points of that class, and the
223+
updated dictionary of all points.
224224
225225
Parameters
226226
----------
@@ -253,8 +253,8 @@ def on_class_changed(self, func):
253253

254254
def on_positions_set(self, func):
255255
"""
256-
Connect *func* as a callback function when the *set_positions* function is called.
257-
*func* will receive the updated dictionary of all points.
256+
Connect *func* as a callback function when the *set_positions* function is
257+
called. *func* will receive the updated dictionary of all points.
258258
259259
Parameters
260260
----------

0 commit comments

Comments
 (0)