From 2d0c680dafb4a1f131e2c885f86c2a91ab00eea3 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 29 Jun 2020 07:30:42 +0200 Subject: [PATCH] useful information --- python/damask/_colormap.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python/damask/_colormap.py b/python/damask/_colormap.py index f354af0a3..d60f7f6c6 100644 --- a/python/damask/_colormap.py +++ b/python/damask/_colormap.py @@ -127,7 +127,19 @@ class Colormap(mpl.colors.ListedColormap): @staticmethod def list_predefined(): - """List predefined colormaps by category.""" + """ + List predefined colormaps by category. + + References + ---------- + .. [1] DAMASK colormap theory + https://www.kennethmoreland.com/color-maps/ColorMapsExpanded.pdf + .. [2] DAMASK colormaps first use + https://doi.org/10.1016/j.ijplas.2012.09.012 + .. [3] Matplotlib colormaps overview + https://matplotlib.org/tutorials/colors/colormaps.html + + """ print('DAMASK colormaps') print(' '+', '.join(Colormap._predefined_DAMASK.keys())) for cat in Colormap._predefined_mpl: