summaryrefslogtreecommitdiff
path: root/Problems_In_Fluid_Flow
diff options
context:
space:
mode:
authorSrikant Patnaik2015-02-27 17:10:12 +0530
committerSrikant Patnaik2015-02-27 17:10:12 +0530
commit121f6027864eec574ad581705eb277e19120720c (patch)
treede95760936c857f2e4a3dce1ffb25c17daa512fa /Problems_In_Fluid_Flow
parentb14c13fcc6bb6d01c468805d612acb353ec168ac (diff)
downloadPython-Textbook-Companions-121f6027864eec574ad581705eb277e19120720c.tar.gz
Python-Textbook-Companions-121f6027864eec574ad581705eb277e19120720c.tar.bz2
Python-Textbook-Companions-121f6027864eec574ad581705eb277e19120720c.zip
Changed '%pylab inline' to '%matplotlib inline' to fix warning messages across 138 files
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",