@@ -540,9 +540,8 @@ def __init__(self, ax, labels, actives):
540
540
w , h = dy / 2. , dy / 2.
541
541
x , y = 0.05 , y - h / 2.
542
542
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 )
546
545
547
546
l1 = Line2D ([x , x + w ], [y + h , y ], ** lineparams )
548
547
l2 = Line2D ([x , x + w ], [y , y + h ], ** lineparams )
@@ -997,8 +996,8 @@ def __init__(self, ax, labels, active=0, activecolor='blue'):
997
996
else :
998
997
facecolor = axcolor
999
998
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 )
1002
1001
1003
1002
self .labels .append (t )
1004
1003
self .circles .append (p )
@@ -2069,8 +2068,8 @@ def __init__(self, ax, onselect, drawtype='box',
2069
2068
alpha = 0.2 , fill = True )
2070
2069
rectprops ['animated' ] = self .useblit
2071
2070
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 )
2074
2073
self .ax .add_patch (self .to_draw )
2075
2074
if drawtype == 'line' :
2076
2075
if lineprops is None :
@@ -2481,9 +2480,9 @@ def onselect(verts):
2481
2480
"""
2482
2481
2483
2482
def __init__ (self , ax , onselect = None , useblit = True , lineprops = None ,
2484
- button = None ):
2483
+ button = None ):
2485
2484
_SelectorWidget .__init__ (self , ax , onselect , useblit = useblit ,
2486
- button = button )
2485
+ button = button )
2487
2486
2488
2487
self .verts = None
2489
2488
0 commit comments