@@ -834,8 +834,8 @@ def set_3d_properties(self):
834
834
self .update_scalarmappable ()
835
835
self ._sort_zpos = None
836
836
self .set_zsort ('average' )
837
- self ._facecolors3d = PolyCollection .get_facecolor (self )
838
- self ._edgecolors3d = PolyCollection .get_edgecolor (self )
837
+ self ._facecolor3d = PolyCollection .get_facecolor (self )
838
+ self ._edgecolor3d = PolyCollection .get_edgecolor (self )
839
839
self ._alpha3d = PolyCollection .get_alpha (self )
840
840
self .stale = True
841
841
@@ -856,8 +856,8 @@ def do_3d_projection(self, renderer=None):
856
856
xyzlist = [(txs [sl ], tys [sl ], tzs [sl ]) for sl in self ._segslices ]
857
857
858
858
# This extra fuss is to re-order face / edge colors
859
- cface = self ._facecolors3d
860
- cedge = self ._edgecolors3d
859
+ cface = self ._facecolor3d
860
+ cedge = self ._edgecolor3d
861
861
if len (cface ) != len (xyzlist ):
862
862
cface = cface .repeat (len (xyzlist ), axis = 0 )
863
863
if len (cedge ) != len (xyzlist ):
@@ -882,8 +882,8 @@ def do_3d_projection(self, renderer=None):
882
882
else :
883
883
PolyCollection .set_verts (self , segments_2d , self ._closed )
884
884
885
- if len (self ._edgecolors3d ) != len (cface ):
886
- self ._edgecolors2d = self ._edgecolors3d
885
+ if len (self ._edgecolor3d ) != len (cface ):
886
+ self ._edgecolors2d = self ._edgecolor3d
887
887
888
888
# Return zorder value
889
889
if self ._sort_zpos is not None :
@@ -901,24 +901,24 @@ def do_3d_projection(self, renderer=None):
901
901
def set_facecolor (self , colors ):
902
902
# docstring inherited
903
903
super ().set_facecolor (colors )
904
- self ._facecolors3d = PolyCollection .get_facecolor (self )
904
+ self ._facecolor3d = PolyCollection .get_facecolor (self )
905
905
906
906
def set_edgecolor (self , colors ):
907
907
# docstring inherited
908
908
super ().set_edgecolor (colors )
909
- self ._edgecolors3d = PolyCollection .get_edgecolor (self )
909
+ self ._edgecolor3d = PolyCollection .get_edgecolor (self )
910
910
911
911
def set_alpha (self , alpha ):
912
912
# docstring inherited
913
913
artist .Artist .set_alpha (self , alpha )
914
914
try :
915
- self ._facecolors3d = mcolors .to_rgba_array (
916
- self ._facecolors3d , self ._alpha )
915
+ self ._facecolor3d = mcolors .to_rgba_array (
916
+ self ._facecolor3d , self ._alpha )
917
917
except (AttributeError , TypeError , IndexError ):
918
918
pass
919
919
try :
920
920
self ._edgecolors = mcolors .to_rgba_array (
921
- self ._edgecolors3d , self ._alpha )
921
+ self ._edgecolor3d , self ._alpha )
922
922
except (AttributeError , TypeError , IndexError ):
923
923
pass
924
924
self .stale = True
0 commit comments