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

Function test_imshow_bignumbers_real

lib/matplotlib/tests/test_image.py:1110–1117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1108@image_comparison(['imshow_bignumbers_real.png'],
1109 remove_text=True, style='mpl20')
1110def test_imshow_bignumbers_real():
1111 rcParams['image.interpolation'] = 'nearest'
1112 # putting a big number in an array of integers shouldn't
1113 # ruin the dynamic range of the resolved bits.
1114 fig, ax = plt.subplots()
1115 img = np.array([[2., 1., 1.e22], [4., 1., 3.]])
1116 pc = ax.imshow(img)
1117 pc.set_clim(0, 5)
1118
1119
1120@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

imshowMethod · 0.80
subplotsMethod · 0.45
set_climMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…