code: def plot_covariance_ellipse(
      mean,
      cov=None,
      variance=1.0,
      std=None,
      ellipse=None,
      title=None,
      axis_equal=True,
      show_semiaxis=False,
      facecolor=None,
      edgecolor=None,
      fc="none",
      ec="#004080",
      alpha=1.0,
      xlim=None,
      ylim=None,
      ls="solid",
  ):
      """
      Deprecated function to plot a covariance ellipse. Use plot_covariance
      instead.
  
      See Also
      --------
  
      plot_covariance
      """
  
      warnings.warn(
          "deprecated, use plot_covariance instead", DeprecationWarning
      )
      plot_covariance(
          mean=mean,
          cov=cov,
          variance=variance,
          std=std,
          ellipse=ellipse,
          title=title,
          axis_equal=axis_equal,
          show_semiaxis=show_semiaxis,
          facecolor=facecolor,
          edgecolor=edgecolor,
          fc=fc,
          ec=ec,
          alpha=alpha,
          xlim=xlim,
          ylim=ylim,
          ls=ls,
      )
  
imports: from __future__ import absolute_import, division, unicode_literals
  import math
  from math import cos, sin
  import random
  import warnings
  import numpy
  from numpy.linalg import inv
  import scipy.linalg
  import scipy.sparse
  import scipy.sparse.linalg
  from scipy.stats import norm, multivariate_normal
label_desc: Use image node_id 19 for calling a global function with example usage: plot_covariance_ellipse(mean, cov, variance, std, ellipse, title, axis_equal, show_semiaxis, facecolor, edgecolor, fc, ec, alpha, xlim, ylim, ls) without return types