From a5003c1677c51e7794e0c4bbc21ed39a17b850cc Mon Sep 17 00:00:00 2001 From: Pieter Date: Tue, 25 Oct 2016 17:51:49 +0200 Subject: [PATCH] only load show_subprocess_widget when in notebook --- qcodes/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qcodes/__init__.py b/qcodes/__init__.py index e05bb8622446..557704b1d71e 100644 --- a/qcodes/__init__.py +++ b/qcodes/__init__.py @@ -34,6 +34,7 @@ 'try "from qcodes.plots.pyqtgraph import QtPlot" ' 'to see the full error') +if config['gui']['notebook']: from qcodes.widgets.widgets import show_subprocess_widget from qcodes.station import Station