We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a56329 commit 22474c5Copy full SHA for 22474c5
lib/mpl_toolkits/mplot3d/art3d.py
@@ -455,7 +455,7 @@ def do_3d_projection(self):
455
all_points = np.ma.vstack(segments)
456
masked_points = np.ma.column_stack([*_viewlim_mask(*all_points.T,
457
self.axes)])
458
- segment_lengths = [segment.shape[0] for segment in segments]
+ segment_lengths = [np.asanyarray(segment).shape[0] for segment in segments]
459
segments = np.split(masked_points, np.cumsum(segment_lengths[:-1]))
460
xyslist = [proj3d._proj_trans_points(points, self.axes.M)
461
for points in segments]
0 commit comments