sci palettes for matplotlib/seaborn
Installation
python3 -m pip install sci-palettes
Usage
import seaborn as sns
import matplotlib.pyplot as plt
import sci_palettes
print(sci_palettes.PALETTES.keys())
sci_palettes.register_cmap() # register all palettes
sci_palettes.register_cmap('aaas') # register a special palette
# methods for setting palette
plt.set_cmap('aaas')
plt.style.use('aaas')
sns.set_theme(palette='aaas')
sns.set_palette('aaas')
sns.scatterplot(...)
# set palette when plotting
sns.scatterplot(..., palette='aaas')
Full examples in examples