fix import error

This commit is contained in:
Jan Grewe 2021-02-06 14:10:46 +01:00
parent 52b03cf4db
commit ef924e5686
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8 - name: Lint with flake8
run: | run: |

View File

@ -10,7 +10,7 @@ import numpy as np
try: try:
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
except ImportError as e: except ImportError as e:
print("cannot omport matplotlib", e) print("cannot import matplotlib, headless mode?", e)
from matplotlib.widgets import Slider from matplotlib.widgets import Slider
from IPython import embed from IPython import embed