When using `from tqdm import notebook.tqdm as tqdm`, for example in https://tskit.dev/tsinfer/docs/latest/tutorial.html#simulation-example <img width="683" alt="Screenshot 2022-10-25 at 09 40 30" src="https://user-images.githubusercontent.com/4699014/197726418-7147dc36-13a1-49f7-89f8-42b6b486f7d5.png">