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

Function test_mask_image_all

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

Source from the content-addressed store, hash-verified

1004
1005
1006def test_mask_image_all():
1007 # Test behavior with an image that is entirely masked does not warn
1008 data = np.full((2, 2), np.nan)
1009 fig, ax = plt.subplots()
1010 ax.imshow(data)
1011 fig.canvas.draw_idle() # would emit a warning
1012
1013
1014@image_comparison(['imshow_endianess.png'], remove_text=True, style='_classic_test')

Callers

nothing calls this directly

Calls 3

imshowMethod · 0.80
subplotsMethod · 0.45
draw_idleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…