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

Function test_boxplot_autorange_whiskers

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

Source from the content-addressed store, hash-verified

3883 'boxplot_autorange_true_whiskers.png'],
3884 style='default')
3885def test_boxplot_autorange_whiskers():
3886 # Randomness used for bootstrapping.
3887 np.random.seed(937)
3888
3889 x = np.ones(140)
3890 x = np.hstack([0, x, 2])
3891
3892 fig1, ax1 = plt.subplots()
3893 ax1.boxplot([x, x], bootstrap=10000, notch=1)
3894 ax1.set_ylim(-5, 5)
3895
3896 fig2, ax2 = plt.subplots()
3897 ax2.boxplot([x, x], bootstrap=10000, notch=1, autorange=True)
3898 ax2.set_ylim(-5, 5)
3899
3900
3901def _rc_test_bxp_helper(ax, rc_dict):

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…