fig = plt.figure(figsize=(15, 10))
# use cartoee to get a map
ax = cartoee.get_map(srtm, region=region, vis_params=vis)
# add a colorbar to the map using the visualization params we passed to the map
cartoee.add_colorbar(
ax,
vis,
loc="bottom",
label="Elevation",
orientation="horizontal",
posOpts=[0.25, 0.05, 0.5, 0.02],
)
# add gridlines to the map at a specified interval
cartoee.add_gridlines(ax, interval=[10, 10], linestyle=":")
# add coastlines using the cartopy api
ax.coastlines(color="red")
show()