refer to plotdir rather than assuming _plots