.. _example_mixture_plot_gmm.py:


=================================
Gaussian Mixture Model Ellipsoids
=================================

Plot the confidence ellipsoids of a mixture of two gaussians.



.. image:: images/plot_gmm_1.png
    :align: center


**Python source code:** :download:`plot_gmm.py <plot_gmm.py>`

.. literalinclude:: plot_gmm.py
    :lines: 8-