import gtk from matplotlib import pyplot as pp pp.plot([1,2,3]) pp.show()