python: fixed threshold example comment