Mercurial > repos > astroteam > astropy_fits2csv
view generate_cmaps.py @ 0:01fbfdf7d10f draft
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools/astropytools commit 1ed262b482599b257c6b323b154bee2412265dbf-dirty
author | astroteam |
---|---|
date | Thu, 22 Jun 2023 19:39:08 +0000 |
parents | |
children |
line wrap: on
line source
from matplotlib import pyplot as plt cmaps = sorted(m for m in plt.cm.datad if not m.endswith("_r")) print("\n".join([f'<option value="{cm}">{cm}</option>' for cm in cmaps]))