@_check_backend('<STR_LIT>')<EOL>def plot_ellipse_matplotlib(cov, pos, ax, nstd=<NUM_LIT:2>, **kwargs):
from matplotlib.patches import Ellipse<EOL>from mpl_toolkits.mplot3d import art3d, Axes3D<EOL>ellipse_param, normal = calc_2d_ellipse_properties(cov,nstd)<EOL>ellipse_kwds = merge_keywords(ellipse_param, kwargs)<EOL>ellip = Ellipse(xy=(<NUM_LIT:0>,<NUM_LIT:0>), **ellipse_kwds)<EOL>ax.add_patch(ellip)<EOL>ellip = pathpatch_2d_to_3d(ellip, normal=normal)<EOL>ellip = pathpatch_translate(ellip,pos)<EOL>return ellip<EOL>
Plot 2d ellipse in 3d using matplotlib backend