From ef924e56864d85c3bfad378671e71d4790056fd9 Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan.grewe@g-node.org>
Date: Sat, 6 Feb 2021 14:10:46 +0100
Subject: [PATCH] fix import error

---
 .github/workflows/python-app.yml | 2 +-
 nixview/ui/plotscreen.py         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index 064b055..fe360ef 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -23,7 +23,7 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        pip install flake8 pyqt5 pytest-qt nixio matplotlib
+        pip install flake8 pyqt5 pytest-qt nixio matplotlib ipython
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
     - name: Lint with flake8
       run: |
diff --git a/nixview/ui/plotscreen.py b/nixview/ui/plotscreen.py
index df470e0..22ae796 100644
--- a/nixview/ui/plotscreen.py
+++ b/nixview/ui/plotscreen.py
@@ -10,7 +10,7 @@ import numpy as np
 try:
     import matplotlib.pyplot as plt
 except ImportError as e:
-    print("cannot omport matplotlib", e)
+    print("cannot import matplotlib, headless mode?", e)
 from matplotlib.widgets import Slider
 from IPython import embed