convert_gempak_color¶
-
metpy.plots.
convert_gempak_color
(c, style='psc')[source]¶ Convert GEMPAK color numbers into corresponding Matplotlib colors.
Takes a sequence of GEMPAK color numbers and turns them into equivalent Matplotlib colors. Various GEMPAK quirks are respected, such as treating negative values as equivalent to 0.
Parameters: Returns: List of strings of Matplotlib colors, or a single string if only one color requested.