869bd95b3d8eb4e333f303a7fd25cb84f1b66c6f,examples/images_contours_and_fields/image_demo.py,,,#,26

Before Change


A = np.random.rand(5, 5)
plt.figure(1)
plt.imshow(A, interpolation="nearest")
plt.grid(True)

plt.figure(2)
plt.imshow(A, interpolation="bilinear")
plt.grid(True)

After Change



A = np.random.rand(5, 5)

fig, axs = plt.subplots(1, 3, figsize=(10, 3))
for ax, interp in zip(axs, ["nearest", "bilinear", "bicubic"]):
    ax.imshow(A, interpolation=interp)
    ax.set_title(interp.capitalize())
    ax.grid(True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: matplotlib/matplotlib
Commit Name: 869bd95b3d8eb4e333f303a7fd25cb84f1b66c6f
Time: 2017-05-29
Author: quantum.analyst@gmail.com
File Name: examples/images_contours_and_fields/image_demo.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 365d54c7eadcad1d9ff065299f75da7ca5f80d28
Time: 2018-07-05
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/matplotlib/tests/test_axes.py
Class Name:
Method Name: test_symlog2


Project Name: matplotlib/matplotlib
Commit Name: fb022d48bb1194dec44af9bbb7c4fd7f66f27ced
Time: 2017-07-21
Author: dmgt@users.noreply.github.com
File Name: examples/pylab_examples/log_demo.py
Class Name:
Method Name: