finesse.plotting.tools.add_colorbar

finesse.plotting.tools.add_colorbar(im, **kwargs)[source]

Adds a vertical color bar to an image plot.

Parameters
immatplotlib.image.AxesImage

An image plot, e.g. return value of a call to plt.imshow().

Returns
Handle to the colorbar.