Skip to content

Commit 8ecde8c

Browse files
author
Dilawar Singh
committed
Updated matplotlib. for python2, use version 2.3.
1 parent f2cdac6 commit 8ecde8c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ set -e
55
# virtualenv does not require --user
66
PYTHON=$(which python)
77

8+
# From here https://stackoverflow.com/a/40950971/1805129
9+
PYTHON_VERSION=$(python -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/')
10+
if [ "$ver" -eq "27" ]; then
11+
$PYTHON -m pip install matplotlib==2.3 --upgrade
12+
else
13+
$PYTHON -m pip install matplotlib --upgrade
14+
fi
15+
816
$PYTHON -m pip install pymoose --pre --upgrade
917
$PYTHON -m pip install pylint numpy --upgrade
1018

0 commit comments

Comments
 (0)