Matplotlib - Image Display
What output will this code produce?
import matplotlib.pyplot as plt import numpy as np image = np.ones((2,4)) plt.imshow(image, extent=[0, 4, 0, 2], aspect='equal') plt.gca().set_xlim(0, 8) plt.gca().set_ylim(0, 4) plt.show()
