I am running matplotlib in Python.
I have a histogram showing data from 36 different channels, each colored by a cmap gradient. I want to be able to put a gradient in my legend, possibly through a patch, that simply says 'channels'. Is it possible to do this in an easy way?