yt.raven.Callbacks.GridBoundaryCallback

class yt.raven.Callbacks.GridBoundaryCallback(alpha=1.0, min_pix=1, annotate=False, periodic=True)

Adds grid boundaries to a plot, optionally with alpha-blending. Cuttoff for display is at min_pix wide. annotate puts the grid id in the corner of the grid. (Not so great in projections...)

Methods

convert_to_pixels(plot, coord[, offset])

Previous topic

yt.raven.Callbacks.CuttingQuiverCallback.convert_to_pixels

Next topic

yt.raven.Callbacks.GridBoundaryCallback.convert_to_pixels

This Page