()
| 3852 | |
| 3853 | @image_comparison(['boxplot_sym2.png'], remove_text=True, style='default') |
| 3854 | def test_boxplot_sym2(): |
| 3855 | # Randomness used for bootstrapping. |
| 3856 | np.random.seed(937) |
| 3857 | |
| 3858 | x = np.linspace(-7, 7, 140) |
| 3859 | x = np.hstack([-25, x, 25]) |
| 3860 | fig, [ax1, ax2] = plt.subplots(1, 2) |
| 3861 | |
| 3862 | ax1.boxplot([x, x], bootstrap=10000, sym='^') |
| 3863 | ax1.set_ylim(-30, 30) |
| 3864 | |
| 3865 | ax2.boxplot([x, x], bootstrap=10000, sym='g') |
| 3866 | ax2.set_ylim(-30, 30) |
| 3867 | |
| 3868 | |
| 3869 | @image_comparison(['boxplot_sym.png'], |