Deactivate all plotting code