Notebook
import contextily as cx from pyproj import CRS crs = CRS.from_epsg(4326) fig, ax = plt.subplots(figsize=(6, 6)) argo.plot.scatter(x='lon', y='lat', ax=ax, color='red', s=2) # Custom adjustments of the limits, as we are in the middle of the ocean xmin, xmax = ax.get_xlim() ymin, ymax = ax.get_ylim() ax.set_xlim(xmin*1.5, xmax*0.5) ax.set_ylim(ymin*0.5, ymax*1.5) cx.add_basemap(ax, crs=crs.to_string())