expand on plcurvepython tutorial