Skip to content

Commit 946b9bc

Browse files
committed
Fix more merge conflicts
1 parent a268fc7 commit 946b9bc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -674,12 +674,9 @@ def do_3d_projection(self, renderer):
674674
else:
675675
cedge = cedge.repeat(len(xyzlist), axis=0)
676676

677-
# if required sort by depth (furthest drawn first)
678-
if self._zsort:
679-
z_argsort = np.argsort(
680-
[self._zsortfunc(xyz[:, 2]) for xyz in xyzlist])[::-1]
681-
else:
682-
raise ValueError("whoops")
677+
# sort by depth (furthest drawn first)
678+
z_argsort = np.argsort(
679+
[self._zsortfunc(xyz[:, 2]) for xyz in xyzlist])[::-1]
683680

684681
segments_2d = [xyzlist[i][:, 0:2] for i in z_argsort]
685682
if self._codes3d is not None:

0 commit comments

Comments
 (0)