Skip to content

Commit 92ab511

Browse files
committed
minor changes to intro text
1 parent 8a4c591 commit 92ab511

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

docs/tutorials/irradiance.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# irradiance.py"
7+
"# irradiance.py tutorial"
88
]
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"* IPython 3.2\n",
2020
"* pandas 0.16.2\n",
2121
"\n",
22-
"It should work with other versions.\n",
22+
"It should work with other Python and Pandas versions. It requires pvlib >= 0.2.0 and IPython >= 3.0.\n",
2323
"\n",
2424
"Authors:\n",
2525
"* Will Holmgren (@wholmgren), University of Arizona. July 2014, April 2015, July 2015."

docs/tutorials/pvsystem.ipynb

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,42 +28,41 @@
2828
"* IPython 3.2\n",
2929
"* Pandas 0.16.2\n",
3030
"\n",
31-
"It should work with other Python and Pandas versions. It requires pvlib > 0.2.0 and IPython > 3.0.\n",
31+
"It should work with other Python and Pandas versions. It requires pvlib >= 0.2.0 and IPython >= 3.0.\n",
3232
"\n",
3333
"Authors:\n",
3434
"* Will Holmgren (@wholmgren), University of Arizona. 2015."
3535
]
3636
},
3737
{
3838
"cell_type": "code",
39-
"execution_count": 1,
39+
"execution_count": null,
4040
"metadata": {
4141
"collapsed": false
4242
},
4343
"outputs": [],
4444
"source": [
45-
"%matplotlib inline\n",
45+
"# built-in python modules\n",
46+
"import os\n",
47+
"import inspect\n",
48+
"\n",
49+
"# scientific python add-ons\n",
50+
"import numpy as np\n",
51+
"import pandas as pd\n",
52+
"\n",
53+
"# plotting stuff\n",
54+
"# first line makes the plots appear in the notebook\n",
55+
"%matplotlib inline \n",
4656
"import matplotlib.pyplot as plt\n",
57+
"# seaborn makes your plots look better\n",
4758
"try:\n",
4859
" import seaborn as sns\n",
4960
" sns.set(rc={\"figure.figsize\": (12, 6)})\n",
5061
"except ImportError:\n",
5162
" print('We suggest you install seaborn using conda or pip and rerun this cell')\n",
5263
"\n",
53-
"# built in python modules\n",
54-
"import datetime\n",
55-
"import logging\n",
56-
"import os\n",
57-
"import inspect\n",
58-
"\n",
59-
"try:\n",
60-
" from importlib import reload\n",
61-
"except:\n",
62-
" pass\n",
63-
"\n",
64-
"# python add-ons\n",
65-
"import numpy as np\n",
66-
"import pandas as pd"
64+
"# finally, we import the pvlib library\n",
65+
"import pvlib"
6766
]
6867
},
6968
{

docs/tutorials/tmy_to_power.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
"* IPython 3.2\n",
2222
"* pandas 0.16.2\n",
2323
"\n",
24+
"It should work with other Python and Pandas versions. It requires pvlib >= 0.2.0 and IPython >= 3.0.\n",
25+
"\n",
2426
"Authors:\n",
2527
"* Will Holmgren (@wholmgren), University of Arizona, July 2015\n",
2628
"* Rob Andrews (@Calama-Consulting), Heliolytics, June 2014"

0 commit comments

Comments
 (0)