Save before changing plotting library