use parallel_map in parfor in ipynbtools module