Python To Plot Functional Chart