code: def olive_path():
      """
      Return a Matplotlib path representing a single olive branch from the
      UN Flag. The path coordinates were extracted from the SVG at
      https://commons.wikimedia.org/wiki/File:Flag_of_the_United_Nations.svg.
  
      """
      olives_verts = np.array(
          [
              [
                  0,
                  2,
                  6,
                  9,
                  30,
                  55,
                  79,
                  94,
                  104,
                  117,
                  134,
                  157,
                  177,
                  188,
                  199,
                  207,
                  191,
                  167,
                  149,
                  129,
                  109,
                  87,
                  53,
                  22,
                  0,
                  663,
                  245,
                  223,
                  187,
                  158,
                  154,
                  150,
                  146,
                  149,
                  154,
                  158,
                  181,
                  184,
                  197,
                  181,
                  167,
                  153,
                  142,
                  129,
                  116,
                  119,
                  123,
                  127,
                  151,
                  178,
                  203,
                  220,
                  237,
                  245,
                  663,
                  280,
                  267,
                  232,
                  209,
                  205,
                  201,
                  196,
                  196,
                  201,
                  207,
                  211,
                  224,
                  219,
                  230,
                  220,
                  212,
                  207,
                  198,
                  195,
                  176,
                  197,
                  220,
                  239,
                  259,
                  277,
                  280,
                  663,
                  295,
                  293,
                  264,
                  250,
                  247,
                  244,
                  240,
                  240,
                  243,
                  244,
                  249,
                  251,
                  250,
                  248,
                  242,
                  245,
                  233,
                  236,
                  230,
                  228,
                  224,
                  222,
                  234,
                  249,
                  262,
                  275,
                  285,
                  291,
                  295,
                  296,
                  295,
                  663,
                  294,
                  293,
                  292,
                  289,
                  294,
                  277,
                  271,
                  269,
                  268,
                  265,
                  264,
                  264,
                  264,
                  272,
                  260,
                  248,
                  245,
                  243,
                  242,
                  240,
                  243,
                  245,
                  247,
                  252,
                  256,
                  259,
                  258,
                  257,
                  258,
                  267,
                  285,
                  290,
                  294,
                  297,
                  294,
                  663,
                  285,
                  285,
                  277,
                  266,
                  265,
                  265,
                  265,
                  277,
                  266,
                  268,
                  269,
                  269,
                  269,
                  268,
                  268,
                  267,
                  267,
                  264,
                  248,
                  235,
                  232,
                  229,
                  228,
                  229,
                  232,
                  236,
                  246,
                  266,
                  269,
                  271,
                  285,
                  285,
                  663,
                  252,
                  245,
                  238,
                  230,
                  246,
                  245,
                  250,
                  252,
                  255,
                  256,
                  256,
                  253,
                  249,
                  242,
                  231,
                  214,
                  208,
                  208,
                  227,
                  244,
                  252,
                  258,
                  262,
                  262,
                  261,
                  262,
                  264,
                  265,
                  252,
                  663,
                  185,
                  197,
                  206,
                  215,
                  223,
                  233,
                  242,
                  237,
                  237,
                  230,
                  220,
                  202,
                  185,
                  663,
              ],
              [
                  8,
                  5,
                  3,
                  0,
                  22,
                  46,
                  46,
                  46,
                  35,
                  27,
                  16,
                  10,
                  18,
                  22,
                  28,
                  38,
                  27,
                  26,
                  33,
                  41,
                  52,
                  52,
                  52,
                  30,
                  8,
                  595,
                  77,
                  52,
                  61,
                  54,
                  53,
                  52,
                  53,
                  55,
                  55,
                  57,
                  65,
                  90,
                  106,
                  96,
                  81,
                  68,
                  58,
                  54,
                  51,
                  50,
                  51,
                  50,
                  44,
                  34,
                  43,
                  48,
                  61,
                  77,
                  595,
                  135,
                  104,
                  102,
                  83,
                  79,
                  76,
                  74,
                  74,
                  79,
                  84,
                  90,
                  109,
                  135,
                  156,
                  145,
                  133,
                  121,
                  100,
                  77,
                  62,
                  69,
                  67,
                  80,
                  92,
                  113,
                  135,
                  595,
                  198,
                  171,
                  156,
                  134,
                  129,
                  124,
                  120,
                  123,
                  126,
                  129,
                  138,
                  149,
                  161,
                  175,
                  188,
                  202,
                  177,
                  144,
                  116,
                  110,
                  105,
                  99,
                  108,
                  116,
                  126,
                  136,
                  147,
                  162,
                  173,
                  186,
                  198,
                  595,
                  249,
                  255,
                  261,
                  267,
                  241,
                  222,
                  200,
                  192,
                  183,
                  175,
                  175,
                  175,
                  175,
                  199,
                  221,
                  240,
                  245,
                  250,
                  256,
                  245,
                  233,
                  222,
                  207,
                  194,
                  180,
                  172,
                  162,
                  153,
                  154,
                  171,
                  184,
                  202,
                  216,
                  233,
                  249,
                  595,
                  276,
                  296,
                  312,
                  327,
                  327,
                  327,
                  327,
                  308,
                  284,
                  262,
                  240,
                  240,
                  239,
                  239,
                  242,
                  244,
                  247,
                  265,
                  277,
                  290,
                  293,
                  296,
                  300,
                  291,
                  282,
                  274,
                  253,
                  236,
                  213,
                  235,
                  252,
                  276,
                  595,
                  342,
                  349,
                  355,
                  357,
                  346,
                  326,
                  309,
                  303,
                  297,
                  291,
                  290,
                  297,
                  304,
                  310,
                  321,
                  327,
                  343,
                  321,
                  305,
                  292,
                  286,
                  278,
                  270,
                  276,
                  281,
                  287,
                  306,
                  328,
                  342,
                  595,
                  379,
                  369,
                  355,
                  343,
                  333,
                  326,
                  318,
                  328,
                  340,
                  349,
                  366,
                  373,
                  379,
                  595,
              ],
          ]
      ).T
      olives_codes = np.array(
          [
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              2,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              2,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              2,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              2,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
              1,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              4,
              79,
          ],
          dtype=np.uint8,
      )
  
      return matplotlib.path.Path(olives_verts, olives_codes)
  
file_path: cartopy/examples/miscellanea/un_flag.py
imports: from matplotlib.patches import PathPatch
  import matplotlib.path
  import matplotlib.pyplot
  import matplotlib.ticker
  from matplotlib.transforms import Bbox, BboxTransform
  import numpy
  import cartopy.crs
  import cartopy.feature
label_desc: Use image node_id 1 for calling a global function with example usage: olive_path() and returns: matplotlib