pyGAM is a package for building Generalized Additive Models in Python, it IS NOT for the GUI package [pygame].