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