Observer function to be connected to the fileio model in the top-level gui.py startup Parameters ---------- changed : bool True - 'io_model.img_dict` was updated, False - ignore
(self, change)
| 147 | matplotlib.rcParams["axes.formatter.useoffset"] = True |
| 148 | |
| 149 | def img_dict_updated(self, change): |
| 150 | """ |
| 151 | Observer function to be connected to the fileio model |
| 152 | in the top-level gui.py startup |
| 153 | |
| 154 | Parameters |
| 155 | ---------- |
| 156 | changed : bool |
| 157 | True - 'io_model.img_dict` was updated, False - ignore |
| 158 | """ |
| 159 | if change["value"]: |
| 160 | self.select_dataset(self.io_model.img_dict_default_selected_item) |
| 161 | self.init_plot_status() |
| 162 | |
| 163 | def init_plot_status(self): |
| 164 | # init of scaler for normalization |
nothing calls this directly
no test coverage detected