From c6bce87f5c98f9132c087e467c0d7ff0481cb777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9d=C3=A9ric=20Boquien?= Date: Wed, 12 Jun 2019 13:11:39 -0400 Subject: [PATCH] Fix the computation of the limits for the plots in luminosity/flux --- pcigale_plots/plot_types/sed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcigale_plots/plot_types/sed.py b/pcigale_plots/plot_types/sed.py index 66d17723..ea9a1854 100644 --- a/pcigale_plots/plot_types/sed.py +++ b/pcigale_plots/plot_types/sed.py @@ -146,9 +146,9 @@ def _sed_worker(obs, mod, filters, sed_type, logo, xrange, yrange, series, filters_wl /= zp1 wavelength_spec /= zp1 + xmin /= zp1 + xmax /= zp1 elif sed_type == 'mJy': - xmin *= zp1 - xmax *= zp1 k_corr_SED = 1. fact = 1e29 * 1e-3 * wavelength_spec**2 / c / surf -- GitLab