code: def _frame_update(index):
      ax.view_init(index * 0.2, index * 0.5)
      return
  
file_path: networkx/examples/3d_drawing/plot_3d_rotation_animation.py
imports: import numpy
  import networkx
  import random
  import matplotlib.pyplot
  from matplotlib import animation
label_desc: Use image node_id 2 for calling a global function with example usage: _frame_update(index) without return types