.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "glr_examples/view/plot_multiple_feature_distributions.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code or to run this example in your browser via Binder .. rst-class:: sphx-glr-example-title .. _sphx_glr_glr_examples_view_plot_multiple_feature_distributions.py: ================================================ Plot multiple categorical feature distributions ================================================ plots a multiple categorical distributions onto a FacetGrid .. GENERATED FROM PYTHON SOURCE LINES 8-11 .. code-block:: Python # Author: L.Kouadio # Licence: BSD-3-clause .. GENERATED FROM PYTHON SOURCE LINES 12-24 .. code-block:: Python from watex.view.plot import QuickPlot from watex.datasets import load_bagoue data = load_bagoue ().frame qplotObj= QuickPlot(lc='b', tname='flow') qplotObj.sns_style = 'darkgrid' qplotObj.mapflow=True # to categorize the flow rate qplotObj.fit(data) fdict={ 'x':['shape', 'type', 'type'], 'col':['type', 'geol', 'shape'], 'hue':['flow', 'flow', 'geol'], } qplotObj.multicatdist(**fdict) .. rst-class:: sphx-glr-horizontal * .. image-sg:: /glr_examples/view/images/sphx_glr_plot_multiple_feature_distributions_001.png :alt: type = CP, type = EC, type = NC, type = CB2P :srcset: /glr_examples/view/images/sphx_glr_plot_multiple_feature_distributions_001.png :class: sphx-glr-multi-img * .. image-sg:: /glr_examples/view/images/sphx_glr_plot_multiple_feature_distributions_002.png :alt: geol = VOLCANO-SEDIM. SCHISTS, geol = GRANITES, geol = GEOSYN. GRANITES, geol = GNEISS-MIGMATITES :srcset: /glr_examples/view/images/sphx_glr_plot_multiple_feature_distributions_002.png :class: sphx-glr-multi-img * .. image-sg:: /glr_examples/view/images/sphx_glr_plot_multiple_feature_distributions_003.png :alt: shape = W, shape = V, shape = C, shape = K, shape = U :srcset: /glr_examples/view/images/sphx_glr_plot_multiple_feature_distributions_003.png :class: sphx-glr-multi-img .. rst-class:: sphx-glr-script-out .. code-block:: none QuickPlot(savefig= None, fig_num= 1, fig_size= (12, 8), ... , classes= None, tname= flow, mapflow= True) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 2.253 seconds) .. _sphx_glr_download_glr_examples_view_plot_multiple_feature_distributions.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: binder-badge .. image:: images/binder_badge_logo.svg :target: https://mybinder.org/v2/gh/watex/watex/0.3.X?urlpath=lab/tree/notebooks/glr_examples/view/plot_multiple_feature_distributions.ipynb :alt: Launch binder :width: 150 px .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_multiple_feature_distributions.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_multiple_feature_distributions.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_