code: def _frame_update(index):
      ax.view_init(6.0 + index * 0.2, -22.0 + index * 0.5)
  
file_path: networkx/examples/algorithms/plot_image_segmentation_spectral_graph_partiion.py
imports: import numpy
  import networkx
  import matplotlib.pyplot
  from matplotlib import animation
  from matplotlib.lines import Line2D
  from sklearn.cluster import SpectralClustering
label_desc: Use image node_id 3 for calling a global function with example usage: _frame_update(index) without return types