Commit 76b350dd authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Improve the tital for the χ² plot and add a title for the PDF plot.

parent f43fd6e4
......@@ -51,8 +51,8 @@ def _chi2_worker(obj_name, var_name):
ax.set_ylabel("Reduced $\chi^2$")
ax.set_ylim(0., )
ax.minorticks_on()
figure.suptitle("Reduced $\chi^2$ distribution of {} values for {}."
.format(obj_name, var_name))
figure.suptitle("Reduced $\chi^2$ distribution of {} for {}."
.format(var_name, obj_name))
figure.savefig(OUT_DIR + "{}_{}_chi2.pdf".format(obj_name, var_name))
plt.close(figure)
else:
......@@ -78,6 +78,8 @@ def _pdf_worker(obj_name, var_name):
ax.set_xlabel(var_name)
ax.set_ylabel("Probability density")
ax.minorticks_on()
figure.suptitle("Probability distribution function of {} for {}"
.format(var_name, obj_name))
figure.savefig(OUT_DIR + "{}_{}_pdf.pdf".format(obj_name, var_name))
plt.close(figure)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment