Skip to content

Commit 73e29f9

Browse files
authored
Merge pull request #12498 from meeseeksmachine/auto-backport-of-pr-12495-on-v3.0.0-doc
Backport PR #12495 on branch v3.0.0-doc (Fix duplicate condition in pathpatch3d example)
2 parents 5496147 + fb1bb0b commit 73e29f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mplot3d/pathpatch3d.py

+1-1
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)