matlantis_features.features.phonon.qha_gibbs_free_energy.draw_phase_diagram(labels: List[str], gibbs_free_energies: List[PostPhononQHAGibbsFeatureResult], interval: int = 501) Figure#

Draw the phase diagram from the Gibbs free energy obtained from PostPhononQHAGibbsFeature.

Parameters
  • labels (list[str]) – The name of each phase.

  • gibbs_free_energies (List[PostPhononQHAGibbsFeatureResult]) – The Gibbs free energy calculation results for each phase.

  • interval (int, optional) – Number of inteploate points in both temperature and pressure.
    Defaults to 501.

Returns

The phase diagram.

Return type

plt.Figure