How do I do something like:
from tqdm.notebook import tqdm
from matplotlib import pyplot as plt
from IPython import display
import time
import numpy as np
xx = list()
for i in tqdm(range(500)):
xx.append(i * 0.1)
yy = np.sin(xx)
if i % 10 == 0:
display.clear_output(wait=True)
plt.plot(xx, yy)
time.sleep(0.1)
but keeping a tqdm progress bar from disappearing when I update the plot?