Skip to content
Prev Previous commit
Fix vstack bug
  • Loading branch information
AlexandreAbraham committed Sep 20, 2016
commit e6211bd1768dbfe0eebd54ae82a03bc78ef6fae6
2 changes: 1 addition & 1 deletion lib/mpl_toolkits/mplot3d/art3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def set_3d_properties(self, path, zs=0, zdir='z'):

def do_3d_projection(self, renderer):
# pad ones
s = np.vstack(self._segment3d, np.ones(self._segment3d.shape[1]))
s = np.vstack([self._segment3d, np.ones(self._segment3d.shape[1])])
vxyzis = proj3d.proj_transform_vec_clip(s, renderer.M)
self._path2d = mpath.Path(vxyzis[0:2].T, self._code3d)
# FIXME: coloring
Expand Down