Commit 422a45f4 authored by Médéric Boquien's avatar Médéric Boquien

Ensure that pcigale-plots correctly detects the skirtor2016 AGN models

parent 1a6f11cb
Pipeline #2840 skipped with stage
......@@ -4,6 +4,7 @@
### Added
### Changed
### Fixed
- Ensure that `pcigale-plots` correctly detects the `skirtor2016` AGN models. (Médéric Boquien, reported by Guang Yang)
### Optimised
## 2020.0 (2020-06-29)
......
......@@ -239,10 +239,10 @@ def _sed_worker(obs, mod, filters, sed_type, logo, xrange, yrange, series,
linewidth=1.0)
# AGN emission SKIRTOR
if 'agn' in series and 'agn.SKIRTOR2016.dust' in sed.columns:
if 'agn' in series and 'agn.SKIRTOR2016_dust' in sed.columns:
ax1.loglog(wavelength_spec[wsed],
(sed['agn.SKIRTOR2016.dust'][wsed] +
sed['agn.SKIRTOR2016.disk'][wsed]),
(sed['agn.SKIRTOR2016_dust'][wsed] +
sed['agn.SKIRTOR2016_disk'][wsed]),
label="AGN emission", color='xkcd:apricot',
marker=None, nonposy='clip', linestyle='-',
linewidth=1.0)
......
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