Skip to content

Commit 5918750

Browse files
committed
Correctly set depthshaded colours on 3D collections.
1 parent e95a990 commit 5918750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,8 @@ def do_3d_projection(self, renderer):
540540
fcs = mcolors.to_rgba_array(fcs, self._alpha)
541541
ecs = mcolors.to_rgba_array(ecs, self._alpha)
542542

543-
self.set_edgecolors(ecs)
544-
self.set_facecolors(fcs)
543+
super().set_edgecolor(ecs)
544+
super().set_facecolor(fcs)
545545
self.set_sizes(sizes)
546546
self.set_linewidth(lws)
547547

0 commit comments

Comments
 (0)