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

Function test_hist2d_density

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

Source from the content-addressed store, hash-verified

2905
2906
2907def test_hist2d_density():
2908 x, y = np.random.random((2, 100))
2909 ax = plt.figure().subplots()
2910 for obj in [ax, plt]:
2911 obj.hist2d(x, y, density=True)
2912
2913
2914@mpl.style.context("mpl20")

Callers

nothing calls this directly

Calls 3

figureMethod · 0.80
hist2dMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…