Skip to content

Commit ca66b99

Browse files
author
Dilawar Singh
committed
Fixed typo in previous commit.
Changed the version of matplotlib which works with python2.
1 parent 8ecde8c commit ca66b99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ PYTHON=$(which python)
77

88
# From here https://stackoverflow.com/a/40950971/1805129
99
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
10+
if [ "$PYTHON_VERSION" -eq "27" ]; then
11+
$PYTHON -m pip install matplotlib==2.2.3 --upgrade
1212
else
1313
$PYTHON -m pip install matplotlib --upgrade
1414
fi

0 commit comments

Comments
 (0)