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

Improve χ² plots: set the minimum to 0 and reduce the size of individual marks.

parent c643a0fb
......@@ -46,9 +46,10 @@ def _chi2_worker(obj_name, var_name):
var_name))
figure = plt.figure()
ax = figure.add_subplot(111)
ax.scatter(chi2[var_name], chi2['chi2'], color='k')
ax.scatter(chi2[var_name], chi2['chi2'], color='k', s=.1)
ax.set_xlabel(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))
......
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