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

Function test_contour_hatching

lib/matplotlib/tests/test_axes.py:2844–2849  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2842
2843@image_comparison(['contour_hatching'], remove_text=True, style='mpl20')
2844def test_contour_hatching():
2845 x, y, z = contour_dat()
2846 fig, ax = plt.subplots()
2847 ax.contourf(x, y, z, 7, hatches=['/', '\\', '//', '-'],
2848 cmap=mpl.colormaps['gray'].with_alpha(0.5),
2849 extend='both')
2850
2851
2852@image_comparison(['contour_colorbar'], style='mpl20',

Callers

nothing calls this directly

Calls 4

contour_datFunction · 0.85
with_alphaMethod · 0.80
subplotsMethod · 0.45
contourfMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…