This must be a really basic question: I am trying to use Matplotlib. Here's the basic example from the documentation.
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0,5,0.1)
y = np.sin(x)
plt.plot(x,y)
I have tried this in ipython, bpython and the default interpreter (Ubuntu 10.10, 64 bit) and all I get are messages like:
[<matplotlib.lines.Line2D object at 0x3f14a90>]
What am I doing wrong?