Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 946b9bc

Browse filesBrowse files
committed
Fix more merge conflicts
1 parent a268fc7 commit 946b9bc
Copy full SHA for 946b9bc

File tree

Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed

‎lib/mpl_toolkits/mplot3d/art3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/art3d.py
+3-6Lines changed: 3 additions & 6 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.