code: def test_pcolormesh_invisible():
      data = np.zeros((2, 2))
  
      # Check that a fully invisible mesh doesn't fail.
      with mock.patch("cartopy.mpl.geoaxes.GeoAxes.pcolor") as pcolor:
          ax = plt.axes(projection=ccrs.Orthographic())
          ax.pcolormesh(
              np.linspace(-75, 75, 3),
              np.linspace(105, 255, 3),
              data,
              transform=ccrs.PlateCarree(),
          )
          assert pcolor.call_count == 0, (
              "pcolor shouldn't have been called, " "but was."
          )
  
file_path: cartopy/lib/cartopy/tests/mpl/test_pseudo_color.py
imports: import io
  from unittest import mock
  import matplotlib.pyplot
  import numpy
  import cartopy.crs
label_desc: Use image node_id 2 for calling a global function with example usage: test_pcolormesh_invisible() without return types