Skip to content

Commit 74b23d4

Browse files
authored
Fix Mypy (#2118)
* Update utilities.py * Update utilities.py
1 parent a559a9f commit 74b23d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

folium/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)