colors2cmap
- typhon.plots.colors2cmap(*args, name=None)[source]
- Create a colormap from a list of given colors. - Parameters:
- *args – Arbitrary number of colors (Named color, HEX or RGB). 
- name (str) – Name with which the colormap is registered. 
 
- Returns:
- LinearSegmentedColormap. 
 - Examples - >>> colors2cmap('darkorange', 'white', 'darkgreen', name='test')