Skip to content

Commit bf4794b

Browse files
committed
remove plot from module
1 parent 69df78e commit bf4794b

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

pvlib/irradiance.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,6 @@
33
global horizontal irradiance, direct normal irradiance,
44
diffuse horizontal irradiance, and total irradiance
55
under various conditions.
6-
7-
Extraterrestrial radiation can be modeled using :func:`extraradiation`.
8-
9-
.. ipython:: python
10-
11-
import numpy as np
12-
import pandas as pd
13-
import matplotlib.pyplot as plt
14-
import pvlib
15-
16-
times = pd.date_range('2014-01-01', '2015-01-01', freq='1D')
17-
spencer = pd.Series(pvlib.irradiance.extraradiation(times, method='spencer'), times)
18-
asce = pd.Series(pvlib.irradiance.extraradiation(times, method='asce'), times)
19-
ephem = pvlib.irradiance.extraradiation(times, method='pyephem') # approx 100x slower than the above.
20-
spencer.plot(label='spencer')
21-
asce.plot(label='asce')
22-
ephem.plot(label='pyephem')
23-
plt.legend()
24-
@savefig extraradiation.png width=4in
25-
plt.ylabel('Extraterrestrial radiation (W/m^2)')
26-
276
"""
287

298
from __future__ import division

0 commit comments

Comments
 (0)