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

Method energy_bound_low_update

pyxrf/model/lineplot.py:436–443  ·  view source on GitHub ↗

Observer function for 'param_model.energy_bound_low_buf

(self, change)

Source from the content-addressed store, hash-verified

434 self._update_canvas()
435
436 def energy_bound_low_update(self, change):
437 """Observer function for 'param_model.energy_bound_low_buf'"""
438 if self.io_model.data is None:
439 return
440 self.exp_data_update({"value": self.io_model.data})
441 self.plot_selected_energy_range_original(e_low=change["value"])
442 self.plot_vertical_marker(e_low=change["value"])
443 self._update_canvas()
444
445 def log_linear_plot(self):
446 if self.plot_type_names[self.scale_opt] == "LinLog":

Callers

nothing calls this directly

Calls 4

exp_data_updateMethod · 0.95
plot_vertical_markerMethod · 0.95
_update_canvasMethod · 0.95

Tested by

no test coverage detected