fixed opening of plots on linux