code: def test_pcolormesh_goode_wrap():
      # global data on an Interrupted Goode Homolosine projection
      # shouldn't spill outside projection boundary
      x = np.linspace(0, 360, 73)
      y = np.linspace(-87.5, 87.5, 36)
      X, Y = np.meshgrid(*[np.deg2rad(c) for c in (x, y)])
      Z = np.cos(Y) + 0.375 * np.sin(2.0 * X)
      Z = Z[:-1, :-1]
      ax = plt.axes(
          projection=ccrs.InterruptedGoodeHomolosine(emphasis="land")
      )
      ax.coastlines()
      # TODO: Remove snap when updating this image
      ax.pcolormesh(x, y, Z, transform=ccrs.PlateCarree(), snap=False)
      return ax.figure
  
imports: import re
  import matplotlib.colors
  import matplotlib.pyplot
  import numpy
  import pytest
  import cartopy.crs
  from cartopy.mpl import _MPL_38
  from cartopy.tests.conftest import requires_scipy
label_desc: Use image node_id 26 for calling a global function with example usage: test_pcolormesh_goode_wrap() and returns: ax