show()
Displays the plot.
If a file was loaded (via filepath or set_file()), show() refreshes the scene in this order:
- Scalar field (
set_scalar()) - Contours (
set_contour()) - Vector glyphs (
set_vector()) - Feature edges (
set_feature_edges()) - Camera reset
Returns
- Desktop mode (
notebook=False):None(starts the Qt event loop; blocking). - Notebook mode (
notebook=True): returns the PyVista notebook display output/widget.
Example
from pyemsi import Plotter
Plotter("mesh.vtm").set_scalar("B-Mag (T)", mode="element", cell2point=True).show()