import numpy as np import matplotlib.pyplot as plt data = np.random.random((10,10)) im = plt.imshow(data) plt.axis(\'off\') plt.savefig("question2.png",b