code: def _empirical_cdf(data):
      """Compute empirical cdf of a numpy array.
  
      Parameters
      ----------
      data : np.array
          1d array
  
      Returns
      -------
      np.array, np.array
          x and y coordinates for the empirical cdf of the data
      """
      return np.sort(data), np.linspace(0, 1, len(data))
  
file_path: arviz/arviz/plots/backends/matplotlib/ppcplot.py
imports: import logging
  import platform
  import matplotlib.pyplot
  import numpy
  from matplotlib import animation, get_backend
  from ....stats.density_utils import get_bins, histogram, kde
  from ...kdeplot import plot_kde
  from ...plot_utils import _scale_fig_size
  from .None import backend_kwarg_defaults, backend_show, create_axes_grid
label_desc: Use image node_id 3 for calling a global function with example usage: _empirical_cdf(data) and returns: np,  np