pyNamo-EGT#
pyNamo-EGT draws phase portraits of the replicator dynamics for evolutionary games and classifies their rest points: Nash equilibria, strict equilibria, evolutionarily stable strategies, and their dynamic stability. It is a Python successor to Dynamo for one- and multi-population games with up to three dimensions.
import matplotlib.pyplot as plt
import pynamo_egt as pn
game = pn.examples.games.good_rps
fig, ax = pn.phase_portrait(game)
print(pn.equilibrium_table(game))
plt.show()
- Installation
- pyNamo-EGT tutorial
- 1. Setup and interactive widget
- 2. Mathematical model
- 3. Quick example: a three-strategy portrait
- 4. pyNamo’s game catalog
- 5. Constructing and exploring games
- 6. Coordinate conventions
- 7. Speed fields, vector fields, and trajectories
- 8. Equilibria and stability
- 9. Stability classification used by pyNamo
- 10. Degenerate equilibrium sets
- 11. Why ESS is not reported for games with more than one population
- 12. Tips for viewing 3D phase portraits
- 13. Saving publication-quality figures
- 14. Advanced customization
- 15. Bifurcation diagrams for symmetric 2×2 games
- References
- Gallery
- API reference
Citing pyNamo-EGT#
If you use pyNamo-EGT in research or teaching, please cite it as:
@software{dridi2026pynamo,
author = {Dridi, Slimane and Giraudon, Benjamin},
title = {{pyNamo-EGT}: Phase portraits of evolutionary game dynamics in {Python}},
year = {2026},
doi = {10.5281/zenodo.23498361},
url = {https://doi.org/10.5281/zenodo.23498361}
}