Skip to content

Commit f8b4f23

Browse files
authored
Merge pull request matplotlib#7348 from dopplershift/fix-7313
BUG: Fix Axes3D.plot_surface with no edgecolor (Fixes matplotlib#7313)
2 parents 0030e7a + 07336eb commit f8b4f23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,8 @@ def do_3d_projection(self, renderer):
621621
if len(cedge) != len(xyzlist):
622622
if len(cedge) == 0:
623623
cedge = cface
624-
cedge = cedge.repeat(len(xyzlist), axis=0)
624+
else:
625+
cedge = cedge.repeat(len(xyzlist), axis=0)
625626

626627
# if required sort by depth (furthest drawn first)
627628
if self._zsort:

0 commit comments

Comments
 (0)