@@ -2759,14 +2759,14 @@ class PolygonSelector(_SelectorWidget):
2759
2759
Select a polygon region of an axes.
2760
2760
2761
2761
Place vertices with each mouse click, and make the selection by completing
2762
- the polygon (clicking on the first vertex). Once drawn indiviual vertices
2762
+ the polygon (clicking on the first vertex). Once drawn individual vertices
2763
2763
can be moved by clicking and dragging with the left mouse button, or
2764
- deleted by clicking the right mouse button.
2764
+ removed by clicking the right mouse button.
2765
2765
2766
2766
In addition, the following modifier keys can be used:
2767
2767
2768
2768
- Hold *ctrl* and click and drag a vertex to reposition it before the
2769
- polygon has been copleted .
2769
+ polygon has been completed .
2770
2770
- Hold the *shift* key and click and drag anywhere in the axes to move
2771
2771
all vertices.
2772
2772
- Press the *esc* key to start a new polygon.
@@ -2839,7 +2839,6 @@ def _nverts(self):
2839
2839
2840
2840
def _remove_vertex (self , i ):
2841
2841
"""Remove vertex with index i."""
2842
- print (self ._nverts )
2843
2842
if (self ._nverts > 2 and
2844
2843
self ._polygon_completed and
2845
2844
i in (0 , self ._nverts - 1 )):
@@ -2857,7 +2856,7 @@ def _remove_vertex(self, i):
2857
2856
self ._xs .pop (i )
2858
2857
self ._ys .pop (i )
2859
2858
if self ._nverts <= 2 :
2860
- # If only one point left, return to un-complete state to let user
2859
+ # If only one point left, return to incomplete state to let user
2861
2860
# start drawing again
2862
2861
self ._polygon_completed = False
2863
2862
0 commit comments