Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18271f8

Browse files
committed
Remove redundant alpha in Path3DCollection.
1 parent bcc88d3 commit 18271f8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,8 @@ def do_3d_projection(self, renderer):
496496

497497
fcs = (_zalpha(self._facecolor3d, vzs) if self._depthshade else
498498
self._facecolor3d)
499-
fcs = mcolors.to_rgba_array(fcs, self._alpha)
500-
self.set_facecolors(fcs)
501-
502499
ecs = (_zalpha(self._edgecolor3d, vzs) if self._depthshade else
503500
self._edgecolor3d)
504-
505501
sizes = self._sizes3d
506502

507503
# Sort the points based on z coordinates

0 commit comments

Comments
 (0)