code: def test_pil_Image():
      img = Image.open(NATURAL_EARTH_IMG)
      source_proj = ccrs.PlateCarree()
      ax = plt.axes(projection=ccrs.Orthographic())
      ax.imshow(img, transform=source_proj, extent=[-180, 180, -90, 90])
      return ax.figure
  
imports: import types
  import matplotlib.colors
  import matplotlib.pyplot
  import numpy
  from PIL import Image
  import pytest
  import shapely.geometry
  from cartopy import config
  import cartopy.crs
  import cartopy.io.img_tiles
  from cartopy.tests.conftest import _HAS_PYKDTREE_OR_SCIPY
  import cartopy.tests.test_img_tiles
label_desc: Use image node_id 10 for calling a global function with example usage: test_pil_Image() and returns: ax