Actually, how about "We first import the NumPy and matplotlib libraries for array manipulation and plotting, respectively."  Note capitalization of matplotlib (I think that's right?).