def draw_empty_plot(self, ax): h, = ax.plot([], [], '.', markersize=50) self.button = Button(plt.axes([0.7, 0.01, 0.1, 0.05]), 'Zero') self.button.on_clicked(self.clicked) return h,