code: def get_ecdf_points(x, probs, difference):
      """Compute the coordinates for the ecdf points using compute_ecdf."""
      y = compute_ecdf(probs, x)
  
      if not difference:
          x = np.insert(x, 0, x[0])
          y = np.insert(y, 0, 0)
      return x, y
  
file_path: arviz/arviz/plots/ecdfplot.py
imports: import numpy
  from scipy.stats import uniform, binom
  from ..rcparams import rcParams
  from .plot_utils import get_plotting_function
label_desc: Use image node_id 3 for calling a global function with example usage: get_ecdf_points(x, probs, difference) and returns: x,  y