Skip to content

Commit 04f1ef0

Browse files
committed
Merge pull request #573 from WeatherGod/mplot3d/issue569
Fixed incorrect input to patch_2d_to_3d.
2 parents 29a43db + b04c505 commit 04f1ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,7 @@ def bar(self, left, height, zs=0, zdir='z', *args, **kwargs):
19161916
vs = art3d.get_patch_verts(p)
19171917
verts += vs.tolist()
19181918
verts_zs += [z] * len(vs)
1919-
art3d.patch_2d_to_3d(p, zs, zdir)
1919+
art3d.patch_2d_to_3d(p, z, zdir)
19201920
if 'alpha' in kwargs:
19211921
p.set_alpha(kwargs['alpha'])
19221922

0 commit comments

Comments
 (0)