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

Method zoom_out

examples/svgplot_app.py:199–204  ·  view source on GitHub ↗
(self, emitter)

Source from the content-addressed store, hash-verified

197 super(MyApp, self).on_close()
198
199 def zoom_out(self, emitter):
200 scale_factor_x = 0.5
201 scale_factor_y = 100.0
202 self.plotData1.scale(scale_factor_x, scale_factor_y)
203 self.plotData2.scale(scale_factor_x, scale_factor_y)
204 self.plotData3.scale(scale_factor_x, scale_factor_y)
205
206 def add_data(self):
207 with self.update_lock:

Callers

nothing calls this directly

Calls 1

scaleMethod · 0.80

Tested by

no test coverage detected