Skip to content

Commit 55f8ead

Browse files
Update lib/mpl_toolkits/mplot3d/art3d.py
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 4ec56f6 commit 55f8ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def do_3d_projection(self):
455455
all_points = np.ma.vstack(segments)
456456
masked_points = np.ma.column_stack([*_viewlim_mask(*all_points.T,
457457
self.axes)])
458-
segment_lengths = [np.asanyarray(segment).shape[0] for segment in segments]
458+
segment_lengths = [np.shape(segment)[0] for segment in segments]
459459
segments = np.split(masked_points, np.cumsum(segment_lengths[:-1]))
460460
xyslist = [proj3d._proj_trans_points(points, self.axes.M)
461461
for points in segments]

0 commit comments

Comments
 (0)