@@ -593,8 +593,8 @@ def set_3d_properties(self):
593
593
self .update_scalarmappable ()
594
594
self ._sort_zpos = None
595
595
self .set_zsort (True )
596
- self ._facecolors3d = PolyCollection .get_facecolors (self )
597
- self ._edgecolors3d = PolyCollection .get_edgecolors (self )
596
+ self ._facecolors3d = PolyCollection .get_facecolor (self )
597
+ self ._edgecolors3d = PolyCollection .get_edgecolor (self )
598
598
self ._alpha3d = PolyCollection .get_alpha (self )
599
599
self .stale = True
600
600
@@ -666,12 +666,10 @@ def do_3d_projection(self, renderer):
666
666
def set_facecolor (self , colors ):
667
667
PolyCollection .set_facecolor (self , colors )
668
668
self ._facecolors3d = PolyCollection .get_facecolor (self )
669
- set_facecolors = set_facecolor
670
669
671
670
def set_edgecolor (self , colors ):
672
671
PolyCollection .set_edgecolor (self , colors )
673
672
self ._edgecolors3d = PolyCollection .get_edgecolor (self )
674
- set_edgecolors = set_edgecolor
675
673
676
674
def set_alpha (self , alpha ):
677
675
"""
@@ -698,13 +696,11 @@ def set_alpha(self, alpha):
698
696
pass
699
697
self .stale = True
700
698
701
- def get_facecolors (self ):
699
+ def get_facecolor (self ):
702
700
return self ._facecolors2d
703
- get_facecolor = get_facecolors
704
701
705
- def get_edgecolors (self ):
702
+ def get_edgecolor (self ):
706
703
return self ._edgecolors2d
707
- get_edgecolor = get_edgecolors
708
704
709
705
def draw (self , renderer ):
710
706
return Collection .draw (self , renderer )
0 commit comments