MCPcopy Index your code
hub / github.com/rawpython/remi / on_button_pressed

Method on_button_pressed

examples/matplotlib_app.py:95–98  ·  view source on GitHub ↗
(self, widget)

Source from the content-addressed store, hash-verified

93 return wid
94
95 def on_button_pressed(self, widget):
96 self.plot_data.append(random.random())
97 self.mpl.ax.plot(self.plot_data)
98 self.mpl.redraw()
99
100
101if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
redrawMethod · 0.45

Tested by

no test coverage detected