code: def plot_ellipse(ax, mean, cov_sqrt, alpha, num_points=100):
      angles = np.linspace(0, 2 * np.pi, num_points)
      circle_pts = np.vstack([np.cos(angles), np.sin(angles)]).T * 2.0
      cur_pts = mean + np.dot(circle_pts, cov_sqrt)
      ax.plot(cur_pts[:, 0], cur_pts[:, 1], "-", alpha=alpha)
  
file_path: autograd/examples/gmm.py
imports: from __future__ import absolute_import
  from __future__ import print_function
  import matplotlib.pyplot
  import autograd.numpy
  import autograd.numpy.random
  from autograd import grad, hessian_vector_product
  from scipy.optimize import minimize
  from autograd.scipy.special import logsumexp
  import autograd.scipy.stats.multivariate_normal
  from autograd.misc.flatten import flatten_func
  from data import make_pinwheel
label_desc: Use image node_id 5 for calling a global function with example usage: plot_ellipse(ax, mean, cov_sqrt, alpha, num_points) without return types