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

Function test_circular_contour_warning

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

Source from the content-addressed store, hash-verified

355
356
357def test_circular_contour_warning():
358 # Check that almost circular contours don't throw a warning
359 x, y = np.meshgrid(np.linspace(-2, 2, 4), np.linspace(-2, 2, 4))
360 r = np.hypot(x, y)
361 plt.figure()
362 cs = plt.contour(x, y, r)
363 plt.clabel(cs)
364
365
366@pytest.mark.parametrize("use_clabeltext, contour_zorder, clabel_zorder",

Callers

nothing calls this directly

Calls 3

figureMethod · 0.80
contourMethod · 0.45
clabelMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…