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

fix: Use python print for show method #1511

Merged
merged 3 commits into from
Aug 8, 2023
Merged

fix: Use python print for show method #1511

merged 3 commits into from
Aug 8, 2023

Conversation

scsmithr
Copy link
Member

@scsmithr scsmithr commented Aug 8, 2023

This is a fix for show not outputting anything in Google Colab. Stdout in colab gets routed through a few different layers, and just flushing wasn't doing anything. Using python's builtin print was just the easiest path for this, and since this isn't performance sensitive, I think it's reasonable to do.

Closes #1470

This is a fix for `show` not outputting anything in Google Colab. Stdout in
colab gets routed through a few different layers, and just flushing wasn't doing
anything. Using python's builtin `print` was just the easiest path for this, and
since this isn't performance sensitive, I think it's reasonable to do.

Closes #1470
@scsmithr scsmithr enabled auto-merge (squash) August 8, 2023 12:56
@scsmithr scsmithr merged commit 6017d44 into main Aug 8, 2023
2 checks passed
@scsmithr scsmithr deleted the sean/py-print branch August 8, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

show not working in google collab
1 participant