MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / _update_ylimit

Method _update_ylimit

pyxrf/model/lineplot.py:337–341  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

335 self._fig.canvas.draw()
336
337 def _update_ylimit(self):
338 # manually define y limit, from experience
339 self.log_range = [self.max_v * 1e-5, self.max_v * 2]
340 # self.linear_range = [-0.3*self.max_v, self.max_v*1.2]
341 self.linear_range = [0, self.max_v * 1.2]
342
343 def exp_label_update(self, change):
344 """

Callers 2

exp_data_updateMethod · 0.95
plot_multi_exp_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected