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 aa1e5cf

Browse filesBrowse files
teresytimhoffm
authored andcommitted
Fix duplicate condition in pathpatch3d example (#12495)
1 parent d486866 commit aa1e5cf
Copy full SHA for aa1e5cf

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/mplot3d/pathpatch3d.py

Copy file name to clipboardExpand all lines: examples/mplot3d/pathpatch3d.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def text3d(ax, xyz, s, zdir="z", size=None, angle=0, usetex=False, **kwargs):
2929
x, y, z = xyz
3030
if zdir == "y":
3131
xy1, z1 = (x, z), y
32-
elif zdir == "y":
32+
elif zdir == "x":
3333
xy1, z1 = (y, z), x
3434
else:
3535
xy1, z1 = (x, y), z

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.