code: def test_global_map():
      fig = plt.figure(figsize=(10, 5))
      ax = fig.add_subplot(1, 1, 1, projection=ccrs.Robinson())
  
      # make the map global rather than have it zoom in to
      # the extents of any plotted data
      ax.set_global()
  
      ax.stock_img()
      ax.coastlines()
  
      ax.plot(-0.08, 51.53, "o", transform=ccrs.PlateCarree())
      ax.plot(
          [-0.08, 132], [51.53, 43.17], transform=ccrs.PlateCarree()
      )
      ax.plot([-0.08, 132], [51.53, 43.17], transform=ccrs.Geodetic())
  
      return fig
  
imports: import matplotlib.pyplot
  import pytest
  import cartopy.crs
  from cartopy.mpl import _MPL_38
  from cartopy.tests.conftest import _HAS_PYKDTREE_OR_SCIPY
label_desc: Use image node_id 1 for calling a global function with example usage: test_global_map() and returns: fig