Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive windows doesn't flush like the real thing #3394

Closed
louisabraham opened this issue May 27, 2019 · 7 comments
Closed

Interactive windows doesn't flush like the real thing #3394

louisabraham opened this issue May 27, 2019 · 7 comments
Assignees

Comments

@louisabraham
Copy link

Hi,

I have some issues to run https://github.com/stared/livelossplot

Basically, it prints every frame without erasing the previous one.

@rchiodo
Copy link
Contributor

rchiodo commented May 28, 2019

This might be a good starting point for a repro:

https://github.com/stared/livelossplot/blob/master/examples/pytorch.ipynb

@greazer
Copy link
Member

greazer commented May 30, 2019

This may be a more general problem than just this plotting package.

@louisabraham
Copy link
Author

@greazer indeed, that's why I didn't include the package name in the title.

@rchiodo rchiodo self-assigned this Jun 3, 2019
@rchiodo
Copy link
Contributor

rchiodo commented Jun 4, 2019

@louisabraham I just submitted a fix for this. If you want to try it out, the next insider's build will have the fix in it. Should be about half an hour from now.

@songololo
Copy link

songololo commented Jun 21, 2019

I don't know if this is directly related to the theme of this issue: here is an example of the tqdm autonotebook functionality, which doesn't work directly in the vscode Jupyter notebook console:

# this works:
import time
from tqdm import tqdm
for i in tqdm(range(100)):
    time.sleep(0.01)


# this doesn't work:
from tqdm.autonotebook import tqdm
for i in tqdm(range(100)):
    time.sleep(0.01)

See tqdm/tqdm#747 for temporary workaround implemented in tqdm.

@rchiodo
Copy link
Contributor

rchiodo commented Jun 21, 2019

Sorry, but no this is different. Not sure what HBox is supposed to do. It might be a custom output that Jupyter generates that we're not handling yet.

@rchiodo
Copy link
Contributor

rchiodo commented Jun 21, 2019

I added a new issue for the HBox problem:
https://github.com/microsoft/vscode-python/issues/6290

@rchiodo rchiodo closed this as completed Aug 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants