jmpy.common package¶
Submodules¶
jmpy.common.colors module¶
-
jmpy.common.colors.
colormap
(series, kind='discrete', cmap='default', color_dict=False)[source]¶ Create a color map for series data
Params: :param series: array of series data :param kind: type of color map, no other kind implemented yet :param cmap: specify your own color map :param color_dict: If true, returns a dictionary of series: colors, otherwise
return an ndarray of colors for each row