matplotlib/matplotlib — pull request #1061 by bgamari (2012-08-08 17:09:21+00:00)
Title: Add log option to Axes.hist2d

We use np.log1p since one would usually expect to find bins with 0 counts.