Add matplotlib.pyplot import so to fix the tutorial works