yt.visualization.plot_modifications.QuiverCallback

class yt.visualization.plot_modifications.QuiverCallback(field_x, field_y, factor=16, scale=None, scale_units=None, normalize=False, bv_x=0, bv_y=0)[source]
annotate_quiver(field_x, field_y, factor=16, scale=None, scale_units=None,
normalize=False, bv_x=0, bv_y=0):

Adds a ‘quiver’ plot to any plot, using the field_x and field_y from the associated data, skipping every factor datapoints scale is the data units per arrow length unit using scale_units (see matplotlib.axes.Axes.quiver for more info)

Methods