code: def _3d_graph_plot(ax):
      for i, marker in enumerate(array_of_markers):
          ax.scatter(
              *nodes[i].T,
              s=point_size,
              color=tuple(X[i] / 255),
              marker=marker,
              alpha=0.5,
          )
      for vizedge, weight in zip(edges, weights):
          ax.plot(
              *vizedge.T,
              color="tab:gray",
              linewidth=weight,
              alpha=weight,
          )
      ax.view_init(elev=100.0, azim=-100.0)
      ax.grid(False)
      ax.set_axis_off()
  
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 4 for calling a global function with example usage: _3d_graph_plot(ax) without return types