Skip to content

Commit 7631cfe

Browse files
committed
Convert _seg_sizes to array
1 parent 5faaa0c commit 7631cfe

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
@@ -612,7 +612,7 @@ def set_zsort(self, zsort):
612612
def get_vector(self, segments3d):
613613
"""Optimize points for projection"""
614614

615-
self._seg_sizes = [len(c) for c in segments3d]
615+
self._seg_sizes = np.array([len(c) for c in segments3d])
616616
self._vec = []
617617
if len(segments3d) > 0:
618618
# Store the points in a single array for easier projection

0 commit comments

Comments
 (0)