Remove vestigial code from plot.ts. No CR needed.