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

Function test_hatch

lib/matplotlib/tests/test_simplification.py:402–406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

400
401@image_comparison(['hatch_simplify'], remove_text=True, style='_classic_test')
402def test_hatch():
403 fig, ax = plt.subplots()
404 ax.add_patch(plt.Rectangle((0, 0), 1, 1, fill=False, hatch="/"))
405 ax.set_xlim(0.45, 0.55)
406 ax.set_ylim(0.45, 0.55)
407
408
409@image_comparison(['fft_peaks'], remove_text=True, style='_classic_test')

Callers

nothing calls this directly

Calls 4

add_patchMethod · 0.80
subplotsMethod · 0.45
set_xlimMethod · 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…