should be ``from matplotlib.pyplot import imsave``?