summaryrefslogtreecommitdiff
path: root/Problems_In_Fluid_Flow
diff options
context:
space:
mode:
Diffstat (limited to 'Problems_In_Fluid_Flow')
-rwxr-xr-xProblems_In_Fluid_Flow/ch10.ipynb2
-rwxr-xr-xProblems_In_Fluid_Flow/ch4.ipynb2
-rwxr-xr-xProblems_In_Fluid_Flow/ch6.ipynb2
3 files changed, 3 insertions, 3 deletions
diff --git a/Problems_In_Fluid_Flow/ch10.ipynb b/Problems_In_Fluid_Flow/ch10.ipynb
index b9f62b91..95125807 100755
--- a/Problems_In_Fluid_Flow/ch10.ipynb
+++ b/Problems_In_Fluid_Flow/ch10.ipynb
@@ -30,7 +30,7 @@
"input": [
"\n",
"\n",
- "%pylab inline\n",
+ "%matplotlib inline\n",
"import math \n",
"from matplotlib.pyplot import *\n",
"#example 10.1\n",
diff --git a/Problems_In_Fluid_Flow/ch4.ipynb b/Problems_In_Fluid_Flow/ch4.ipynb
index 5938d17b..a321c44d 100755
--- a/Problems_In_Fluid_Flow/ch4.ipynb
+++ b/Problems_In_Fluid_Flow/ch4.ipynb
@@ -116,7 +116,7 @@
"import math \n",
"import numpy\n",
"from matplotlib import pyplot as plt\n",
- "%pylab inline\n",
+ "%matplotlib inline\n",
"\n",
"# Initialization of Variable\n",
"rd = numpy.true_divide([0, 1, 2.5, 5 ,10, 15, 17.5],100) #radial distance from pipe\n",
diff --git a/Problems_In_Fluid_Flow/ch6.ipynb b/Problems_In_Fluid_Flow/ch6.ipynb
index 3eb6270f..d1a06bfd 100755
--- a/Problems_In_Fluid_Flow/ch6.ipynb
+++ b/Problems_In_Fluid_Flow/ch6.ipynb
@@ -164,7 +164,7 @@
"\n",
"from matplotlib.pyplot import *\n",
"import math \n",
- "%pylab inline\n",
+ "%matplotlib inline\n",
"\n",
"# Initialization of Variable\n",
"Q = [0, 0.01, 0.02, 0.03 ,0.04, 0.05] #discharge\n",