(self, change)
| 572 | |
| 573 | @observe("plot_exp_opt") |
| 574 | def _new_exp_plot_opt(self, change): |
| 575 | if self.io_model.data is None: |
| 576 | return |
| 577 | |
| 578 | if change["type"] != "create": |
| 579 | if change["value"]: |
| 580 | self.plot_experiment() |
| 581 | # _show_hide_exp_plot is already called inside 'plot_experiment()', |
| 582 | # but visibility flag was not used correctly. So we need to |
| 583 | # call it again. |
| 584 | self._show_hide_exp_plot(change["value"]) |
| 585 | self._set_eline_select_controls() |
| 586 | |
| 587 | # @observe('show_exp_opt') |
| 588 | # def _update_exp(self, change): |
nothing calls this directly
no test coverage detected