hexbin question

I have the paths of the hexbins=hexbin.get_paths(), but I have generated my own counts within each of these hexbins. These counts are now in the array: “counts”, that is of the same length as hexbin.get_paths(). Could someone please spell out (with lines of python code) an easy way so I can make a hexbin map for this using “matplotlib.pyplot.hexbin”, with colorbar and colorbar label?

with many thanks & happy labour day!

  • Sebastian