Skip to content
Switch branches/tags
Go to file

Latest commit

This PR houses a few changes, all in the `TriangluarAxes` projection class:

1. simplification of the transformations code
2. stop calling classmethods of `Axes` and passing self
3. fix several methods, such as `get_xaxis_text1_transform`, to call the superclass and get the transform *after* padding. This means setting the padding of the ticks and axis labels now works correctly for both axes.
4. add an override to `set_ylabel` that sets a default rotation of 60 degrees

Git stats


Failed to load latest commit information.


pycalphad, a library for the CALculation of PHAse Diagrams

Join the chat at Test Coverage Build Status Development Status Latest version Supported Python versions License

Note: Unsolicited pull requests are _happily_ accepted!

pycalphad is a free and open-source Python library for designing thermodynamic models, calculating phase diagrams and investigating phase equilibria within the CALPHAD method. It provides routines for reading Thermo-Calc TDB files and for solving the multi-component, multi-phase Gibbs energy minimization problem.

The purpose of this project is to provide any interested people the ability to tinker with and improve the nuts and bolts of CALPHAD modeling without having to be a computer scientist or expert programmer.

For assistance in setting up your Python environment and/or collaboration opportunities, please contact the author by e-mail or using the issue tracker on GitHub.

pycalphad is licensed under the MIT License. See LICENSE.txt for details.

Required Dependencies:

  • Python 3.6+
  • matplotlib, numpy, scipy, sympy, symengine, xarray, pyparsing, tinydb, cyipopt


See Installation Instructions.


Jupyter notebooks with examples are available on NBViewer and


See the documentation on

Getting Help

Questions about installing and using pycalphad can be addressed in the pycalphad Google Group. Technical issues and bugs should be reported on on GitHub. A public chat channel is available on Gitter.


If you use pycalphad in your research, please consider citing the following work:

Otis, R. & Liu, Z.-K., (2017). pycalphad: CALPHAD-based Computational Thermodynamics in Python. Journal of Open Research Software. 5(1), p.1. DOI:


Development has been made possible in part through NASA Space Technology Research Fellowship (NSTRF) grant NNX14AL43H, and is supervised by Prof. Zi-Kui Liu in the Department of Materials Science and Engineering at the Pennsylvania State University. We would also like to acknowledge technical assistance on array computations from Denis Lisov.


CALPHAD tools for designing thermodynamic models, calculating phase diagrams and investigating phase equilibria.





No packages published