code: def generate_points(subset=0.02):
      """A helper to make a 3D NumPy array of points (n_points by 3)."""
      dataset = examples.download_lidar()
      ids = np.random.randint(
          low=0,
          high=dataset.n_points - 1,
          size=int(dataset.n_points * subset),
      )
      return dataset.points[ids]
  
imports: import numpy
  import pyvista
  from pyvista import examples
label_desc: Use image node_id 1 for calling a global function with example usage: generate_points(subset) and returns: dataset