code: def plot_ellipse_plotly(cov, pos, nstd=2,**kwargs):
      
      ellipse_param, normal = calc_2d_ellipse_properties(cov,nstd)
      points = create_ellipse(**ellipse_param)
  
      points = transform_to_3d(points, normal=normal)
      points = translate_in_3d(points,pos)
      return create_ellipse_mesh(points,**kwargs)
docs: Plot 2d ellipse in 3d using matplotlib backend