code: def _codes_segment(pts):
      return [Path.MOVETO, Path.LINETO]
  
file_path: nilearn/nilearn/plotting/glass_brain.py
imports: import json
  import os
  from matplotlib import colors, patches, transforms
  from matplotlib.path import Path
label_desc: Use image node_id 2 for calling a global function with example usage: _codes_segment(pts) and returns: list