useful information

This commit is contained in:
Martin Diehl 2020-06-29 07:30:42 +02:00
parent a657125840
commit 2d0c680daf
1 changed files with 13 additions and 1 deletions

View File

@ -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: