use `ax.imshow` instead of `plt.imshow`