8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c14b5aa commit 655f243Copy full SHA for 655f243
lib/matplotlib/collections.py
@@ -830,8 +830,6 @@ def set_alpha(self, alpha):
830
artist.Artist._set_alpha_for_array(self, alpha)
831
self._set_facecolor(self._original_facecolor)
832
self._set_edgecolor(self._original_edgecolor)
833
- if self._gapcolor is not None:
834
- self.set_gapcolor(self._original_gapcolor)
835
836
set_alpha.__doc__ = artist.Artist._set_alpha_for_array.__doc__
837
@@ -1474,6 +1472,11 @@ def _get_default_edgecolor(self):
1474
1472
def _get_default_facecolor(self):
1475
1473
return 'none'
1476
+ def set_alpha(self, alpha):
+ # docstring inherited
1477
+ super().set_alpha(alpha)
1478
+ self.set_gapcolor(self._original_gapcolor)
1479
+
1480
def set_color(self, c):
1481
"""
1482
Set the edgecolor(s) of the LineCollection.
0 commit comments