generate plot using matplotlib figure code example
Example 1: import matplotlib.pyplot as plt
from matplotlib import pyplot as plt
import matplotlib.pyplot as plt
Example 2: pylab plotting data
pylab.plot(x, y)
pylab.xlabel('this is x!')
pylab.ylabel('this is y!')
pylab.title('My First Plot')