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

Function test_pie_hatch_multi

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

Source from the content-addressed store, hash-verified

6866
6867@check_figures_equal()
6868def test_pie_hatch_multi(fig_test, fig_ref):
6869 x = [0.3, 0.3, 0.1]
6870 hatch = ['/', '+', '.']
6871 fig_test.subplots().pie(x, hatch=hatch)
6872 wedges, _ = fig_ref.subplots().pie(x)
6873 [w.set_hatch(hp) for w, hp in zip(wedges, hatch)]
6874
6875
6876def test_pie_label_formatter():

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…