savefig¶
- FermiSurface.savefig(savefig, dpi: int | str = 'figure', **kwargs)[source]¶
Save the figure to a file.
- Parameters:
savefig (str or path-like) – The filename or path where the figure should be saved.
dpi (int or str, optional) – The resolution in dots per inch. Can be ‘figure’ to use figure’s dpi, by default “figure”.
**kwargs – Additional keyword arguments passed to matplotlib savefig function.