Commit 4851956f authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Merge branch 'release/v0.5'

Denis added some corrections for the plots.
parents a2e6e48e 5d9ae802
......@@ -243,7 +243,7 @@ def _sed_worker(obs, mod, filters, sed_type, nologo):
figure.subplots_adjust(hspace=0., wspace=0.)
ax1.set_xlim(1e-1*xmin, 1e3)
ax1.set_xlim(xmin, xmax)
ymin = min(np.min(obs_fluxes[mask_ok]),
np.min(mod_fluxes[mask_ok]))
if not mask_uplim.any() == False:
......@@ -253,7 +253,7 @@ def _sed_worker(obs, mod, filters, sed_type, nologo):
ymax = max(np.max(obs_fluxes[mask_ok]),
np.max(mod_fluxes[mask_ok]))
ax1.set_ylim(1e-1*ymin, 1e1*ymax)
ax2.set_xlim(1e-1*xmin, 1e3)
ax2.set_xlim(xmin, xmax)
ax2.set_ylim(-1.0, 1.0)
if sed_type == 'lum':
ax2.set_xlabel("Rest-frame wavelength [$\mu$m]")
......
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