Skip to content

Conversation

@cceyda
Copy link
Contributor

@cceyda cceyda commented Oct 26, 2022

Type of changes

  • Bug fix

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

More of a cosmetic fix than a bugfix, but the extra lines were just not fun to look at.
In notebooks 2 extra empty lines were printed after the progress bar finished (where console.is_jupyter) as seen below:
image

It is even more visible in vs-code:
image

There is still one empty line being printed at the end, but I suspect that maybe a well known ipywidgets problem. ref: jupyter-widgets/ipywidgets#2880

tested it manually 👀 in vs-code(latest: 1.72.2), jupyterlab, and google colab(it was never printing empty lines)

@cceyda cceyda changed the title Progress prints an empty line after finishing Progress prints an empty line after finishing in jupyter Oct 26, 2022
Copy link

@alexisthual alexisthual left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but you need to pull main.
Very interested in seeing this merged as I have a storm of newlines in my vscode interactive windows 😊
It'd be nice to see where the remaining new line comes from as well.

@cceyda
Copy link
Contributor Author

cceyda commented Mar 8, 2023

@alexisthual I accidently closed the PR during main sync, reopened here #2867
(just realizing I could have re-opened this, didn't know that was possible 😅 )

@alexisthual
Copy link

No worries, let's jump there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants