We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f55cafd commit 2997b29Copy full SHA for 2997b29
tsuchinoko/graphs/common.py
@@ -599,11 +599,12 @@ class GPCamHyperparameterLogPlot(MultiPlot):
599
stack_plots: ClassVar[bool] = False
600
601
def update(self, widget, data: 'Data', engine: 'GPCAMInProcessEngine'):
602
- plot_data = np.array(data['hyperparameter training log'])
603
- widget.plot(x=plot_data[:, 0], y=plot_data[:, 1])
+ if 'hyperparameter training log' in data.states:
+ plot_data = np.array(data.get(['hyperparameter training log'])
604
+ widget.plot(x=plot_data[:, 0], y=plot_data[:, 1])
605
- if self.pen_key is None:
606
- self.colorize(widget, data)
+ if self.pen_key is None:
607
+ self.colorize(widget, data)
608
609
610
0 commit comments