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

Before Change


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

plt.figure(3)
plt.imshow(A, interpolation="bicubic")
plt.grid(True)

plt.show()

After Change



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)

plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: milesial/Pytorch-UNet
Commit Name: ff1ac0936c118d129bc8a8014958948d3b3883be
Time: 2019-10-26
Author: milesial@users.noreply.github.com
File Name: utils/data_vis.py
Class Name:
Method Name: plot_img_and_mask


Project Name: ScottfreeLLC/AlphaPy
Commit Name: 7a7d0e7b35cbee6b3409ac30ff4bf4edfe525af2
Time: 2019-11-17
Author: Mark.R.Conway@gmail.com
File Name: alphapy/plots.py
Class Name:
Method Name: plot_confusion_matrix