Some major upgrades:
* `matplotlib`'s `axes.hist2d` and `axes.hist` functions produce a patch for each bin, making them slow to render and ugly when figures are exported as .svg. Switched over to `axes.imshow` and `axes.fill_between` instead.
* Better handling for the case when `ndim == 1`.
* License swapped from GPL to MIT.