Refactoring slice plots.