graphics for print using python