- CylindricalMesh.plot_3d_slicer(v, xslice=None, yslice=None, zslice=None, v_type='CC', view='real', axis='xy', transparent=None, clim=None, xlim=None, ylim=None, zlim=None, aspect='auto', grid=[2, 2, 1], pcolor_opts=None, fig=None, **kwargs)¶
Plot slices of a 3D volume, interactively (scroll wheel).
If called from a notebook, make sure to set
See the class discretize.View.Slicer for more information.
It returns nothing. However, if you need the different figure handles you can get it via
fig = plt.gcf()
and subsequently its children via
and recursively deeper, e.g.,
One can also provide an existing figure instance, which can be useful for interactive widgets in Notebooks. The provided figure is cleared first.