ThreeDViewer.vector.plot_vector_field#

plot_vector_field(vector_field)#

Plot vector field using pyvista.

Parameters:
vector_fieldnp.ndarray

Vector field as a numpy array shaped (3, nx, ny, nz). First index corresponds to the field’s components