code: def main():
      fig = plt.figure()
      ax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())
      ax.set_extent([80, 170, -45, 30], crs=ccrs.PlateCarree())
  
      # Put a background image on for nice sea rendering.
      ax.stock_img()
  
      # Create a feature for States/Admin 1 regions at 1:50m from Natural Earth.
      states_provinces = cfeature.NaturalEarthFeature(
          category="cultural",
          name="admin_1_states_provinces_lines",
          scale="50m",
          facecolor="none",
      )
  
      SOURCE = "Natural Earth"
      LICENSE = "public domain"
  
      # Add our states feature.
      ax.add_feature(states_provinces, edgecolor="gray")
      # Add land feature, overriding the default negative zorder so it shows
      # above the background image.
      ax.add_feature(cfeature.LAND, zorder=1, edgecolor="k")
  
      # Add a text annotation for the license information to the
      # the bottom right corner.
      text = AnchoredText(
          "\u00A9 {}; license: {}" "".format(SOURCE, LICENSE),
          loc=4,
          prop={"size": 12},
          frameon=True,
      )
      ax.add_artist(text)
  
      plt.show()
  
imports: from matplotlib.offsetbox import AnchoredText
  import matplotlib.pyplot
  import cartopy.crs
  import cartopy.feature
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types