File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -830,8 +830,6 @@ def set_alpha(self, alpha):
830
830
artist .Artist ._set_alpha_for_array (self , alpha )
831
831
self ._set_facecolor (self ._original_facecolor )
832
832
self ._set_edgecolor (self ._original_edgecolor )
833
- if self ._gapcolor is not None :
834
- self .set_gapcolor (self ._original_gapcolor )
835
833
836
834
set_alpha .__doc__ = artist .Artist ._set_alpha_for_array .__doc__
837
835
@@ -1474,6 +1472,11 @@ def _get_default_edgecolor(self):
1474
1472
def _get_default_facecolor (self ):
1475
1473
return 'none'
1476
1474
1475
+ def set_alpha (self , alpha ):
1476
+ # docstring inherited
1477
+ super ().set_alpha (alpha )
1478
+ self .set_gapcolor (self ._original_gapcolor )
1479
+
1477
1480
def set_color (self , c ):
1478
1481
"""
1479
1482
Set the edgecolor(s) of the LineCollection.
You can’t perform that action at this time.
0 commit comments