Saves current figure to a file.
filename : string
Name of the saved file without the extension.
format : string
Format type. Can be “eps” or “pdf”
Examples
>>> d = DualEPS() >>> d.axis_box(xrange=(0,100), yrange=(1e-3,1), ylog=True) >>> d.save_fig("image1", format="pdf")
yt.extensions.eps_writer.DualEPS.insert_image_yt
yt.extensions.eps_writer.DualEPS.scale_line
Enter search terms or a module, class or function name.