get_plot_type#

ifermi.plot.get_plot_type(plot)[source]#

Get the plot type.

Parameters:

plot (Any) – A plot object from FermiSurfacePlotter.get_plot(). Supports matplotlib pyplot objects, plotly figure objects, and mlab figure objects.

Return type:

str

Returns:

The plot type. Current options are “matplotlib”, “mayavi”, and “plotly”.