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

Function test_contour_set_paths

lib/matplotlib/tests/test_contour.py:91–95  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

89
90@check_figures_equal()
91def test_contour_set_paths(fig_test, fig_ref):
92 cs_test = fig_test.subplots().contour([[0, 1], [1, 2]])
93 cs_ref = fig_ref.subplots().contour([[1, 0], [2, 1]])
94
95 cs_test.set_paths(cs_ref.get_paths())
96
97
98@image_comparison(['contour_manual_labels'], remove_text=True, style='mpl20')

Callers

nothing calls this directly

Calls 4

contourMethod · 0.45
subplotsMethod · 0.45
set_pathsMethod · 0.45
get_pathsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…