yt.visualization.profile_plotter.PhasePlot.save

PhasePlot.save(*args, **kwargs)[source]

Saves a 2d profile plot.

Parameters:

name : str

The output file keyword.

suffix : string

Specify the image type by its suffix. If not specified, the output type will be inferred from the filename. Defaults to PNG.

mpl_kwargs : dict

A dict of keyword arguments to be passed to matplotlib.

>>> plot.save(mpl_kwargs={‘bbox_inches’:’tight’}) :