metaseq.colormap_adjust.cmap_center_point_adjust

metaseq.colormap_adjust.cmap_center_point_adjust(cmap, range, center)[source]

Converts center to a ratio between 0 and 1 of the range given and calls cmap_center_adjust(). returns a new adjusted colormap accordingly

Parameters:
  • cmap – colormap instance
  • range – Tuple of (min, max)
  • center – New cmap center