Skip to content

Commit e093d88

Browse files
committed
Remove docstring of deprecated arguments.
1 parent 1ce5fbf commit e093d88

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

lib/matplotlib/widgets.py

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,22 +2569,12 @@ def onselect(eclick: MouseEvent, erelease: MouseEvent)
25692569
button : `.MouseButton`, list of `.MouseButton`, default: all buttons
25702570
Button(s) that trigger rectangle selection.
25712571
2572-
maxdist : float, default: 10
2573-
Distance in pixels within which the interactive tool handles can be
2574-
activated. Deprecated, use *handle_grab_distance* instead.
2575-
25762572
handle_grab_distance : float, default: 10
25772573
Distance in pixels within which the interactive tool handles can be
25782574
activated.
25792575
2580-
marker_props : dict
2581-
Properties with which the interactive handles are drawn. Currently
2582-
not implemented and ignored. Deprecated, use *handle_props*
2583-
instead.
2584-
25852576
handle_props : dict
2586-
Properties with which the interactive handles are drawn. Currently
2587-
not implemented and ignored.
2577+
Properties with which the interactive handles are drawn.
25882578
25892579
interactive : bool, default: False
25902580
Whether to draw a set of handles that allow interaction with the
@@ -3128,25 +3118,26 @@ class PolygonSelector(_SelectorWidget):
31283118
----------
31293119
ax : `~matplotlib.axes.Axes`
31303120
The parent axes for the widget.
3121+
31313122
onselect : function
31323123
When a polygon is completed or modified after completion,
31333124
the *onselect* function is called and passed a list of the vertices as
31343125
``(xdata, ydata)`` tuples.
3126+
31353127
useblit : bool, default: False
3136-
lineprops : dict, default: \
3137-
``dict(color='k', linestyle='-', linewidth=2, alpha=0.5)``.
3128+
3129+
lineprops : dict
31383130
Artist properties for the line representing the edges of the polygon.
3139-
markerprops : dict, default: \
3140-
``dict(marker='o', markersize=7, mec='k', mfc='k', alpha=0.5)``.
3141-
Artist properties for the markers drawn at the vertices of the polygon.
3142-
Deprecated, use *handle_props* instead.
3143-
handle_props : dict, default: \
3144-
``dict(marker='o', markersize=7, mec='k', mfc='k', alpha=0.5)``.
3131+
Default::
3132+
3133+
dict(color='k', linestyle='-', linewidth=2, alpha=0.5)
3134+
3135+
handle_props : dict
31453136
Artist properties for the markers drawn at the vertices of the polygon.
3146-
vertex_select_radius : float, default: 15px
3147-
A vertex is selected (to complete the polygon or to move a vertex) if
3148-
the mouse click is within *vertex_select_radius* pixels of the vertex.
3149-
Deprecated, use *handle_grab_distance* instead.
3137+
Default::
3138+
3139+
dict(marker='o', markersize=7, mec='k', mfc='k', alpha=0.5)
3140+
31503141
handle_grab_distance : float, default: 15px
31513142
A vertex is selected (to complete the polygon or to move a vertex) if
31523143
the mouse click is within *handle_grab_distance* pixels of the vertex.

0 commit comments

Comments
 (0)