MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_boxplot_sym2

Function test_boxplot_sym2

lib/matplotlib/tests/test_axes.py:3854–3866  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3852
3853@image_comparison(['boxplot_sym2.png'], remove_text=True, style='default')
3854def 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'],

Callers

nothing calls this directly

Calls 3

boxplotMethod · 0.80
subplotsMethod · 0.45
set_ylimMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…