py4pa.visualisation

py4pa.visualisation.gen_gradient_cmap(start, end, steps=50)

Generates a seaborn graduated color map

Parameters:
  • start (tuple) – rgb color

  • end (tuple) – rgb color

  • steps (int, optional) – The number of increments to return in the color gradient, default is 50

Returns:

cmap – list of colors for use in saeborn color maps

Return type:

List