Hypersurface plotting module

This module contains the hypersurface plotting.

class einsteinpy.plotting.hypersurface.core.HypersurfacePlotter(embedding, plot_type='wireframe', alpha=100)[source]

Bases: object

Class for plotting and visualising hypersurfaces

Constructor for plotter.

  • embedding (SchwarzschildEmbedding) – The embedding of the hypersurface.

  • plot_type (str, optional) – type of texture for the plots - wireframe / surface, defaults to ‘wireframe’

  • alpha (float, optional) – scaling factor to obtain the step size for incrementing r, defaults to 100


Plots the surface thus obtained for the embedding.


Shows the plot.