Skip to content

Commit 62f97d8

Browse files
committed
freq='H' -> freq='h'
1 parent 4705b32 commit 62f97d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/examples/solar-position/plot_sunpath_diagrams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
tz = 'Asia/Calcutta'
2525
lat, lon = 28.6, 77.2
2626

27-
times = pd.date_range('2019-01-01 00:00:00', '2020-01-01', freq='H', tz=tz)
27+
times = pd.date_range('2019-01-01 00:00:00', '2020-01-01', freq='h', tz=tz)
2828
solpos = solarposition.get_solarposition(times, lat, lon)
2929
# remove nighttime
3030
solpos = solpos.loc[solpos['apparent_elevation'] > 0, :]
@@ -112,7 +112,7 @@
112112

113113
tz = 'Asia/Calcutta'
114114
lat, lon = 28.6, 77.2
115-
times = pd.date_range('2019-01-01 00:00:00', '2020-01-01', freq='H', tz=tz)
115+
times = pd.date_range('2019-01-01 00:00:00', '2020-01-01', freq='h', tz=tz)
116116

117117
solpos = solarposition.get_solarposition(times, lat, lon)
118118
# remove nighttime

0 commit comments

Comments
 (0)