We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a5a95 commit d18c52bCopy full SHA for d18c52b
lib/mpl_toolkits/mplot3d/art3d.py
@@ -309,7 +309,10 @@ def get_data_3d(self):
309
@artist.allow_rasterization
310
def draw(self, renderer):
311
if self._axlim_clip:
312
- mask = _viewlim_mask(*self._verts3d, self.axes)
+ mask = np.broadcast_to(
313
+ _viewlim_mask(*self._verts3d, self.axes),
314
+ (len(self._verts3d), *self._verts3d[0].shape)
315
+ )
316
xs3d, ys3d, zs3d = np.ma.array(self._verts3d,
317
dtype=float, mask=mask).filled(np.nan)
318
else:
0 commit comments