(fig_test, fig_ref)
| 3692 | |
| 3693 | @check_figures_equal() |
| 3694 | def test_boxplot_median_bound_by_box(fig_test, fig_ref): |
| 3695 | data = np.arange(3) |
| 3696 | medianprops_test = {"linewidth": 12} |
| 3697 | medianprops_ref = {**medianprops_test, "solid_capstyle": "butt"} |
| 3698 | fig_test.subplots().boxplot(data, medianprops=medianprops_test) |
| 3699 | fig_ref.subplots().boxplot(data, medianprops=medianprops_ref) |
| 3700 | |
| 3701 | |
| 3702 | @image_comparison(['bxp_withnotch.png'], |