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

Function test_boxplot_custom_capwidths

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

Source from the content-addressed store, hash-verified

3842@image_comparison(['boxplot_custom_capwidths.png'],
3843 savefig_kwarg={'dpi': 40}, style='default')
3844def 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')

Callers

nothing calls this directly

Calls 2

boxplotMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…