[SciPy-Dev] 2D histogram: request for plotting variable bin size

Sturla Molden sturla@molden...
Thu Jan 31 08:49:02 CST 2013

On 31.01.2013 15:01, Frank Breitling wrote:
> Hello,
> http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram2d.html
> explains the usage of 2D histograms.
> Although it is possible to construct 2D histograms with a variable bin
> size, there is no simple way to plot them.
> Therefore I would like to request an implementation to imshow that
> allows the visualization of 2D histograms with variable bin size. I
> imagine a syntax like
> imshow(historgram2d, xedges=xedges, yedges=yedges)

This is question about matplotlib, not SciPy.

However, matplotlib.pyplot.pcolor will do what you want.


More information about the SciPy-Dev mailing list