@@ -540,9 +540,8 @@ def __init__(self, ax, labels, actives):
540540 w , h = dy / 2. , dy / 2.
541541 x , y = 0.05 , y - h / 2.
542542
543- p = Rectangle (xy = (x , y ), width = w , height = h ,
544- facecolor = axcolor ,
545- transform = ax .transAxes )
543+ p = Rectangle (xy = (x , y ), width = w , height = h , edgecolor = 'black' ,
544+ facecolor = axcolor , transform = ax .transAxes )
546545
547546 l1 = Line2D ([x , x + w ], [y + h , y ], ** lineparams )
548547 l2 = Line2D ([x , x + w ], [y , y + h ], ** lineparams )
@@ -997,8 +996,8 @@ def __init__(self, ax, labels, active=0, activecolor='blue'):
997996 else :
998997 facecolor = axcolor
999998
1000- p = Circle (xy = (0.15 , y ), radius = 0.05 , facecolor = facecolor ,
1001- transform = ax .transAxes )
999+ p = Circle (xy = (0.15 , y ), radius = 0.05 , edgecolor = 'black' ,
1000+ facecolor = facecolor , transform = ax .transAxes )
10021001
10031002 self .labels .append (t )
10041003 self .circles .append (p )
@@ -2069,8 +2068,8 @@ def __init__(self, ax, onselect, drawtype='box',
20692068 alpha = 0.2 , fill = True )
20702069 rectprops ['animated' ] = self .useblit
20712070 self .rectprops = rectprops
2072- self .to_draw = self ._shape_klass ((0 , 0 ),
2073- 0 , 1 , visible = False , ** self .rectprops )
2071+ self .to_draw = self ._shape_klass ((0 , 0 ), 0 , 1 , visible = False ,
2072+ ** self .rectprops )
20742073 self .ax .add_patch (self .to_draw )
20752074 if drawtype == 'line' :
20762075 if lineprops is None :
@@ -2481,9 +2480,9 @@ def onselect(verts):
24812480 """
24822481
24832482 def __init__ (self , ax , onselect = None , useblit = True , lineprops = None ,
2484- button = None ):
2483+ button = None ):
24852484 _SelectorWidget .__init__ (self , ax , onselect , useblit = useblit ,
2486- button = button )
2485+ button = button )
24872486
24882487 self .verts = None
24892488
0 commit comments