Plot Function Using Python For Automation