.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/post_process/algorithms/plot_constraints_radar_chart.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. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_post_process_algorithms_plot_constraints_radar_chart.py: Radar chart =========== In this example, we illustrate the use of the :class:`.RadarChart` post-processing on the Sobieski's SSBJ problem. The :class:`.RadarChart` post-processing plots the constraints functions specified by the user, at a given iteration, on a radar style chart. By default, the last iteration is used. This post-processing of the constraints scales better with the number of constraints than the constraint plot provided by the :class:`.OptHistoryView`. .. GENERATED FROM PYTHON SOURCE LINES 35-49 .. image-sg:: /examples/post_process/algorithms/images/sphx_glr_plot_constraints_radar_chart_001.png :alt: Constraints at iteration 13 (optimum) :srcset: /examples/post_process/algorithms/images/sphx_glr_plot_constraints_radar_chart_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none INFO - 16:25:51: Importing the optimization problem from the file sobieski_mdf_scenario.h5 | .. code-block:: Python from __future__ import annotations from gemseo import execute_post from gemseo.settings.post import RadarChart_Settings execute_post( "sobieski_mdf_scenario.h5", settings_model=RadarChart_Settings( constraint_names=["g_1", "g_2", "g_3"], save=False, show=True, ), ) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.165 seconds) .. _sphx_glr_download_examples_post_process_algorithms_plot_constraints_radar_chart.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_constraints_radar_chart.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_constraints_radar_chart.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_constraints_radar_chart.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_