Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions qcodes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@
if in_notebook(): # pragma: no cover
try:
from qcodes.plots.matplotlib import MatPlot
except ImportError:
print('matplotlib plotting not supported')
except Exception:
print('matplotlib plotting not supported, '
'try "from qcodes.plots.matplotlib import MatPlot" '
'to see the full error')

try:
from qcodes.plots.pyqtgraph import QtPlot
except ImportError:
print('pyqtgraph plotting not supported')
except Exception:
print('pyqtgraph plotting not supported, '
'try "from qcodes.plots.pyqtgraph import QtPlot" '
'to see the full error')

from qcodes.widgets.widgets import show_subprocess_widget

Expand Down