Skip to content

Commit fd18c45

Browse files
committedMar 31, 2025
fix: import from .io
1 parent 52b84d5 commit fd18c45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎portal/metrics.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import json
1414
import os
1515
1616
import cartopy
17+
import cartopy.io
1718
import google
1819
import matplotlib
1920
import matplotlib.cm as cm
@@ -266,7 +267,7 @@ plot_top_pages(PORTAL_ID, FOUNDATIONS_ID, COOKBOOKS_ID)
266267
:tags: [remove-cell]
267268
268269
# Disable cartopy warning
269-
warnings.filterwarnings('ignore', category=cartopy.DownloadWarning)
270+
warnings.filterwarnings('ignore', category=cartopy.io.DownloadWarning)
270271
271272
def _run_usersXcountry_report(property_id):
272273
"""

0 commit comments

Comments
 (0)