def _output_cdf_plot(core_result, spid, models, options, fit_results):
<EOL>x = core_result['<STR_LIT:y>'].values<EOL>df = emp.empirical_cdf(x)<EOL>df.columns = ['<STR_LIT:x>', '<STR_LIT>']<EOL>def calc_func(model, df, shapes):<EOL><INDENT>return eval("<STR_LIT>" % model)<EOL><DEDENT>plot_exec_str = "<STR_LIT>"<EOL>_save_table_and_plot(spid, models, options, fit_results, '<STR_LIT>',<EOL>df, calc_func, plot_exec_str)<EOL>
Function for plotting cdf