Skip to content

Commit 2efa6b5

Browse files
committed
Update utilities.py
1 parent e387fdd commit 2efa6b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

folium/utilities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def mercator_transform(
219219
) -> np.ndarray:
220220
"""
221221
Transforms an image computed in (longitude,latitude) coordinates into
222-
the a Mercator projection image
222+
the a Mercator projection image.
223223
224224
Parameters
225225
----------
@@ -266,7 +266,7 @@ def mercator(x):
266266
0.5 / height_out, 1.0 - 0.5 / height_out, height_out
267267
) * (mercator(lat_max) - mercator(lat_min))
268268

269-
out = np.zeros((height_out, width, nblayers))
269+
out: np.ndarray = np.zeros((height_out, width, nblayers))
270270
for i in range(width):
271271
for j in range(nblayers):
272272
out[:, i, j] = np.interp(latslats, mercator(lats), array[:, i, j])

0 commit comments

Comments
 (0)