Shadow plotting module

This module contains the black hole shadow plotting class.

class einsteinpy.plotting.rays.shadow.ShadowPlotter(shadow, is_line_plot=True)[source]

Bases: object

Class for plotting and visualising shadows

Constructor for plotter.

Parameters:
  • shadow (Shadow) – The shadow object

  • is_line_plot (bool, optional) – If the plot is a line plot or a contour plot. Defaults to True.

plot()[source]

Plots the shadow.

show()[source]

Shows the plot.