useful information
This commit is contained in:
parent
a657125840
commit
2d0c680daf
|
@ -127,7 +127,19 @@ class Colormap(mpl.colors.ListedColormap):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def list_predefined():
|
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('DAMASK colormaps')
|
||||||
print(' '+', '.join(Colormap._predefined_DAMASK.keys()))
|
print(' '+', '.join(Colormap._predefined_DAMASK.keys()))
|
||||||
for cat in Colormap._predefined_mpl:
|
for cat in Colormap._predefined_mpl:
|
||||||
|
|
Loading…
Reference in New Issue