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

Function plot_image

lib/matplotlib/tests/test_determinism.py:50–58  ·  view source on GitHub ↗
(fig)

Source from the content-addressed store, hash-verified

48 bar.set_hatch(pattern)
49
50 def plot_image(fig):
51 axs = fig.subplots(1, 3, sharex=True, sharey=True)
52 # also use different images
53 A = [[1, 2, 3], [2, 3, 1], [3, 1, 2]]
54 axs[0].imshow(A, interpolation='nearest')
55 A = [[1, 3, 2], [1, 2, 3], [3, 1, 2]]
56 axs[1].imshow(A, interpolation='bilinear')
57 A = [[2, 3, 1], [1, 2, 3], [2, 1, 3]]
58 axs[2].imshow(A, interpolation='bicubic')
59
60 def plot_paths(fig):
61 # clipping support class, copied from demo_text_path.py gallery example

Callers 1

_save_figureFunction · 0.85

Calls 2

imshowMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…