diff --git a/generate_parameter_dist.py b/generate_parameter_dist.py index 3f876cb..0cdddc1 100755 --- a/generate_parameter_dist.py +++ b/generate_parameter_dist.py @@ -518,7 +518,7 @@ def load_pc(pattern, mass_defs, model_defs, cent_defs, peak_defs, title=None): elif plot_name == 'miscentering': plot_mstar0_AQ_miscentering() else: - raise KeyError("{} not a list plot".format(plot)) + raise KeyError("{} not a list plot".format(plot_function)) dtk.save_figs('figs/'+__file__+'/'+plot_name+'/', '.pdf') plt.show() exit()