Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a268fc7 commit 946b9bcCopy full SHA for 946b9bc
lib/mpl_toolkits/mplot3d/art3d.py
@@ -674,12 +674,9 @@ def do_3d_projection(self, renderer):
674
else:
675
cedge = cedge.repeat(len(xyzlist), axis=0)
676
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")
+ # sort by depth (furthest drawn first)
+ z_argsort = np.argsort(
+ [self._zsortfunc(xyz[:, 2]) for xyz in xyzlist])[::-1]
683
684
segments_2d = [xyzlist[i][:, 0:2] for i in z_argsort]
685
if self._codes3d is not None:
0 commit comments