0221デフォルトの名無しさん
2016/10/10(月) 17:37:13.33ID:Q436H0RNclass Index(object):
def __init__(self, ax):
self.ax = ax
def next(self, event):
xdata = event.xdata
ydata = event.ydata
self.ax.plot(0, 0, color="red", marker="o")
plt.draw()
(略)
bnext.on_clicked(Index(ax).next)