made parallel.py use tqdm_notebook for progress bars if it is running in a jupyter notebook and revert to regular tqdm progress bars otherwise. Also added option to set leave=False in tqdm
made parallel.py use tqdm_notebook for progress bars if it is running in a jupyter notebook and revert to regular tqdm progress bars otherwise. Also added option to set leave=False in tqdm

williamjameshandley/fgivenx