Fixed the problem when removing a dropbox file. The line was staying on the plots