def export_figure(dpi=<NUM_LIT:200>, figure="<STR_LIT>", path=None):
if figure=="<STR_LIT>": figure = _pylab.gcf()<EOL>if path==None: path = _s.dialogs.Save("<STR_LIT>", default_directory="<STR_LIT>")<EOL>if path=="<STR_LIT>":<EOL><INDENT>print("<STR_LIT>")<EOL>return<EOL><DEDENT>figure.savefig(path, dpi=dpi)<EOL>
Saves the actual postscript data for the figure.