grids.mixins.core.GridPlotMixin.plot_ghost_zone_shading#

GridPlotMixin.plot_ghost_zone_shading(grid_axes: Sequence[str] | None = None, ax: Axes | None = None, facecolor: str = 'gray', alpha: float = 0.3)[source]#

Shade the ghost zones in a 2D grid projection.

Parameters:
  • grid_axes (list of str, optional) – Axes to visualize (must be 2D). Defaults to the first two axes.

  • ax (matplotlib.axes.Axes, optional) – Axis to plot into. A new one is created if None.

  • facecolor (str) – Color to fill the ghost region.

  • alpha (float) – Transparency level for shading.

Returns:

Axis object containing the shaded plot.

Return type:

matplotlib.axes.Axes