Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

that code is using matplotlib (an alternative drawing/plotting/gui library). you have to import it before usage:

import matplotlib.pyplot as plt

that code is using matplotlib (an alternative drawing/plotting/gui library). you have to import it before usage:

import matplotlib.pyplot as plt

maybe you have to install it before (it's not part of the standard python modules):

pip install matplotlib