Below is about as simple can get with matplotlib.
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
print 'done'
When I run, I get no errors, no charts, and goes straight to printing 'done'.
I installed on ubuntu 10.04 using easy_install.