()
| 3842 | @image_comparison(['boxplot_custom_capwidths.png'], |
| 3843 | savefig_kwarg={'dpi': 40}, style='default') |
| 3844 | def test_boxplot_custom_capwidths(): |
| 3845 | |
| 3846 | x = np.linspace(-7, 7, 140) |
| 3847 | x = np.hstack([-25, x, 25]) |
| 3848 | fig, ax = plt.subplots() |
| 3849 | |
| 3850 | ax.boxplot([x, x], notch=1, capwidths=[0.01, 0.2]) |
| 3851 | |
| 3852 | |
| 3853 | @image_comparison(['boxplot_sym2.png'], remove_text=True, style='default') |