Closed YanickNdepo closed 3 years ago
I have created the function 'legend_from_attributes()' in utils/utils.py for this task. It allows to get a legend dict from attributes list (for the pollutant) or tuple of attribute and associated legend (see docstring).
the function will use the contamination levels lexicon defined in utils/lexicon/lexicon_memoris.py and will just change the component attribute by pollutant attribute (e.g : Benzene, Toluene)