Fixes Travis plotting errors.