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

Function test_contour_clip_path

lib/matplotlib/tests/test_contour.py:829–834  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

827
828
829def test_contour_clip_path():
830 fig, ax = plt.subplots()
831 data = [[0, 1], [1, 0]]
832 circle = mpatches.Circle([0.5, 0.5], 0.5, transform=ax.transAxes)
833 cs = ax.contour(data, clip_path=circle)
834 assert cs.get_clip_path() is not None
835
836
837def test_bool_autolevel():

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
contourMethod · 0.45
get_clip_pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…