Matplotlib Attributeerror Module Numpy Python Pdf Generator