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

Function test_pie_hatch_single

lib/matplotlib/tests/test_axes.py:6859–6864  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

6857
6858@check_figures_equal()
6859def test_pie_hatch_single(fig_test, fig_ref):
6860 x = [0.3, 0.3, 0.1]
6861 hatch = '+'
6862 fig_test.subplots().pie(x, hatch=hatch)
6863 wedges, _ = fig_ref.subplots().pie(x)
6864 [w.set_hatch(hatch) for w in wedges]
6865
6866
6867@check_figures_equal()

Callers

nothing calls this directly

Calls 3

pieMethod · 0.80
subplotsMethod · 0.45
set_hatchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…