I\'d like to add a colorbar to my figure from a Colormap object rather than using a mappable (such as returned from imshow.
Colormap
imshow
From the docs I thin