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

call clear_output first in flash #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

terryyin
Copy link

@terryyin terryyin commented May 6, 2014

It will make everybody's life slightly easier if we call clear_output first instead of last when flashing.

@jiffyclub
Copy link
Owner

Is this so that it stays visible afterwards?

@terryyin
Copy link
Author

terryyin commented May 7, 2014

Yes, and so that you don’t need to always add a grid.show at the end.

On 6 May, 2014, at 11:55 pm, Matt Davis [email protected] wrote:

Is this so that it stays visible afterwards?


Reply to this email directly or view it on GitHub.

@jiffyclub
Copy link
Owner

I'm giving this some thought. I can see the convenience of having the grid stay up at the end of loops, but with this change it's not really a "flash" method anymore, it's "show" with the output cleared first. But maybe that's okay? Or maybe it would make sense to add a clear_first option to .show that could have this behavior?

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.

2 participants