lair.plotter.NCL_cmap#

lair.plotter.NCL_cmap(table_name)[source]#

Generate matplotlib colormap from NCL color table.

Parameters:

table_name (str)

Returns:

matplotlib.colors.LinearSegmentedColormap – matplotlib colormap from NCL color table.

Return type:

LinearSegmentedColormap