On Sun, Feb 14, 2010 at 3:34 PM, David Arnold wrote:
> line, =ax.plot([0], [0])
> plt.show()
> linebuilder=LineBuilder(line)
>
> However, if I put the plt.show() on the last line, it works. Can anyone
> explain?
plt.show is meant to raise all GUI windows and start the mainloop.
For many user int
All,
I am curious why this doesn't work:
# linebuilder.py
import matplotlib.pyplot as plt
class LineBuilder:
def __init__(self, line):
self.line=line
self.xs=list(line.get_xdata())
self.ys=list(line.get_ydata())
self.cid=line.figure.canvas.mpl_connect('button