Skip to content

Commit b484535

Browse files
committed
Fix typo
1 parent 49eea9a commit b484535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@ def voxels(self, filled, color=None):
26782678
color,
26792679
filled[np.index_exp[...] + np.index_exp[np.newaxis] * np.ndim(color)]
26802680
)
2681-
elif np.dim(color) < 3:
2681+
elif np.ndim(color) < 3:
26822682
raise ValueError("Argument color must be at least 3-dimensional")
26832683
elif np.shape(color)[:3] != filled.shape:
26842684
raise ValueError("Argument color must match the shape of filled, if multidimensional")

0 commit comments

Comments
 (0)