add Python-support for height functions