This repository has been archived by the owner on Mar 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6aceba6
commit 2bc5c31
Showing
2 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
#!/bin/bash | ||
|
||
source activate py34 | ||
|
||
cd "$(dirname "$0")" | ||
which ipython3 | ||
|
||
source activate py34 | ||
if [[ $? == 0 ]]; then | ||
ipython3 notebook --matplotlib=inline | ||
else | ||
ipython notebook --matplotlib=inline | ||
else | ||
which ipython3 | ||
if [[ $? == 0 ]]; then | ||
ipython3 notebook --matplotlib=inline | ||
else | ||
ipython notebook --matplotlib=inline | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
#!/bin/bash | ||
|
||
source activate py34 | ||
|
||
cd "$(dirname "$0")" | ||
which ipython3 | ||
|
||
source activate py34 | ||
if [[ $? == 0 ]]; then | ||
ipython3 notebook --matploblib=inline | ||
else | ||
ipython notebook --matplotlib=inline | ||
else | ||
which ipython3 | ||
if [[ $? == 0 ]]; then | ||
ipython3 notebook --matplotlib=inline | ||
else | ||
ipython notebook --matplotlib=inline | ||
fi | ||
fi |