()
| 2459 | |
| 2460 | @image_comparison(['hist_log.png'], remove_text=True, style='_classic_test') |
| 2461 | def test_hist_log(): |
| 2462 | data0 = np.linspace(0, 1, 200)**3 |
| 2463 | data = np.concatenate([1 - data0, 1 + data0]) |
| 2464 | fig, ax = plt.subplots() |
| 2465 | ax.hist(data, fill=False, log=True) |
| 2466 | |
| 2467 | |
| 2468 | @check_figures_equal() |