animatplot.blocks.Quiver¶
-
class
animatplot.blocks.
Quiver
(X, Y, U, V, axis=None, t_axis=0, **kwargs)[source]¶ A block for animated quiver plots
Parameters: - X (1D or 2D numpy array) – The x positions of the arrows. Cannot be animated.
- Y (1D or 2D numpy array) – The y positions of the arrows. Cannot be animated.
- U (2D or 3D numpy array) – The U displacement of the arrows. 1 dimension higher than the X, Y arrays.
- V (2D or 3D numpy array) – The V displcement of the arrows. 1 dimension higher than the X, Y arrays.
- axis (matplotlib axis, optional) – The axis to the block to
- t_axis (int, optional) – The axis of the array that represents time. Defaults to 0. No effect if U, V are lists.
Notes
This block accepts additional keyword arguments to be passed to
matplotlib.axes.Axes.quiver()
Methods
__init__
Initialize self.