style / useless code removal
plot.remove() resize test added to scaleTests.ts