Added 'log' option to plot_histogram_2d.