ENH: improve plot_result_histogram