Surprisingly nobody took the pain to make an example in the bokeh gallery for 2D histogram plotting
histogram2d
of numpy
gives the raw material, but would be nice to have an example as it happens for matplotlib
Any idea for a short way to make one?
Following up a proposed answer let me attach a case in which hexbin does not the job because exagons are not a good fit for the job. Also check out matplotlib result.
Of course I am not saying bokeh cannot do this, but it seem not straightfoward. Would be enough to change the hexbin plot into a square bin plot, but quad(left, right, top, bottom, **kwargs)
seems not to do this, nor hexbin
to have an option to change "tile" shapes.