code: def view_markers(
      marker_coords,
      marker_color="auto",
      marker_size=5.0,
      marker_labels=None,
      title=None,
      title_fontsize=25,
  ):
      """Insert a 3d plot of markers in a brain into an HTML page.
  
      Parameters
      ----------
      marker_coords : ndarray, shape=(n_nodes, 3)
          The coordinates of the nodes in :term:`MNI` space.
  
      marker_color : ndarray, shape=(n_nodes,), optional
          colors of the markers: list of strings, hex rgb or rgba strings, rgb
          triplets, or rgba triplets (i.e. formats accepted by matplotlib, see
          https://matplotlib.org/users/colors.html#specifying-colors)
  
      marker_size : float or array-like, default=5.0
          Size of the markers showing the seeds in pixels.
  
      marker_labels : list of str, shape=(n_nodes), optional
          Labels for the markers: list of strings
  
      title : str, optional
          Title for the plot.
  
      title_fontsize : int, default=25
          Fontsize of the title.
  
      Returns
      -------
      ConnectomeView : plot of the markers.
          It can be saved as an html page or rendered (transparently) by the
          Jupyter notebook. Useful methods are :
  
          - 'resize' to resize the plot displayed in a Jupyter notebook
          - 'save_as_html' to save the plot to a file
          - 'open_in_browser' to save the plot and open it in a web browser.
  
      See Also
      --------
      nilearn.plotting.plot_connectome:
          projected views of a connectome in a glass brain.
  
      nilearn.plotting.view_connectome:
          interactive plot of a connectome.
  
      nilearn.plotting.view_surf, nilearn.plotting.view_img_on_surf:
          interactive view of statistical maps or surface atlases on the cortical
          surface.
  
      """
      marker_coords = np.asarray(marker_coords)
      if marker_color is None:
          marker_color = ["red" for _ in range(len(marker_coords))]
      connectome_info = _prepare_markers_metadata(
          marker_coords,
          marker_size,
          marker_color,
          marker_only=True,
      )
      if marker_labels is None:
          marker_labels = ["" for _ in range(marker_coords.shape[0])]
      connectome_info["marker_labels"] = marker_labels
      connectome_info["title"] = title
      connectome_info["title_fontsize"] = title_fontsize
      return _make_connectome_html(connectome_info)
  
file_path: nilearn/nilearn/plotting/html_connectome.py
imports: import json
  import numpy
  from matplotlib import cm
  from scipy import sparse
  from nilearn.plotting.html_document import HTMLDocument
  from ..None import datasets
  from .None import cm
  from .js_plotting_utils import add_js_lib, colorscale, encode, get_html_template, mesh_to_plotly, to_color_strings
label_desc: Use image node_id 9 for calling a global function with example usage: view_markers(marker_coords, marker_color, marker_size, marker_labels, title, title_fontsize) and returns: _make_connectome_html