@@ -2502,21 +2502,18 @@ class PolygonSelector(_SelectorWidget):
25022502 The parent axes for the widget.
25032503 onselect : function
25042504 When a polygon is completed or modified after completion,
2505- the ` onselect` function is called and passed a list of the vertices as
2505+ the * onselect* function is called and passed a list of the vertices as
25062506 ``(xdata, ydata)`` tuples.
25072507 useblit : bool, optional
2508- lineprops : dict, optional
2509- The line for the sides of the polygon is drawn with the properties
2510- given by `lineprops`. The default is ``dict(color='k', linestyle='-',
2511- linewidth=2, alpha=0.5)``.
2512- markerprops : dict, optional
2513- The markers for the vertices of the polygon are drawn with the
2514- properties given by `markerprops`. The default is ``dict(marker='o',
2515- markersize=7, mec='k', mfc='k', alpha=0.5)``.
2516- vertex_select_radius : float, optional
2517- A vertex is selected (to complete the polygon or to move a vertex)
2518- if the mouse click is within `vertex_select_radius` pixels of the
2519- vertex. The default radius is 15 pixels.
2508+ lineprops : dict, default: \
2509+ ``dict(color='k', linestyle='-', linewidth=2, alpha=0.5)``.
2510+ Artist properties for the line representing the edges of the polygon.
2511+ markerprops : dict, default: \
2512+ ``dict(marker='o', markersize=7, mec='k', mfc='k', alpha=0.5)``.
2513+ Artist properties for the markers drawn at the vertices of the polygon.
2514+ vertex_select_radius : float, default: 15px
2515+ A vertex is selected (to complete the polygon or to move a vertex) if
2516+ the mouse click is within *vertex_select_radius* pixels of the vertex.
25202517
25212518 Examples
25222519 --------
0 commit comments