add a .to_image member to Plot