You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Halo in a Jupiter notebook, the widget leaves an object behind with non-zero height. This causes the output to be shifted down slightly every time a spinner is used. For example, if you try
print('test')
for i in tqdm(range(10),leave=False):
with Halo() as spinner:
time.sleep(0.5)
print('test')
you will see the second test way below the first rather than as second line.
A very easy fix for that is using spinner.output.close(), so I suggest adding that line to the clear function of the HaloNotebook object.
Description
When using Halo in a Jupiter notebook, the widget leaves an object behind with non-zero height. This causes the output to be shifted down slightly every time a spinner is used. For example, if you try
you will see the second test way below the first rather than as second line.
A very easy fix for that is using spinner.output.close(), so I suggest adding that line to the clear function of the HaloNotebook object.
People to notify
@manrajgrover
The text was updated successfully, but these errors were encountered: