Show a 3D surface plot. Extra keyword arguments are passed to `SurfacePlot()`. Parameters ---------- zdata : array-like A 2D array of the surface Z values.
(self, zdata, **kwargs)
| 430 | return volume |
| 431 | |
| 432 | def surface(self, zdata, **kwargs): |
| 433 | """Show a 3D surface plot. |
| 434 | |
| 435 | Extra keyword arguments are passed to `SurfacePlot()`. |
| 436 | |
| 437 | Parameters |
| 438 | ---------- |
| 439 | zdata : array-like |
| 440 | A 2D array of the surface Z values. |
| 441 | |
| 442 | """ |
| 443 | self._configure_3d() |
| 444 | surf = scene.SurfacePlot(z=zdata, **kwargs) |
| 445 | self.view.add(surf) |
| 446 | self.view.camera.set_range() |
| 447 | return surf |
| 448 | |
| 449 | def colorbar(self, cmap, position="right", |
| 450 | label="", clim=("", ""), |
no test coverage detected