Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8bc8d62

Browse files
apaszkeeric-wieser
andauthored
MaskedArray is a subclass of ndarray
Co-Authored-By: Eric Wieser <[email protected]>
1 parent 6f88a18 commit 8bc8d62

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
@@ -577,7 +577,7 @@ def set_zsort(self, zsort):
577577

578578
def get_vector(self, segments3d):
579579
"""Optimize points for projection."""
580-
if isinstance(segments3d, (np.ndarray, np.ma.MaskedArray)):
580+
if isinstance(segments3d, np.ndarray):
581581
self._segments = segments3d
582582
else:
583583
num_faces = len(segments3d)

0 commit comments

Comments
 (0)