Skip to content

progress bars not displaying in vscode Jupyter notepad #104

@codermrrob

Description

@codermrrob

A few days ago fastprogress stopped working in Jupyter notepads in vscode.

It seems to run without error but does not display anything.
I have the same issue in existing environments (venv) and in newly created environments.
I have reverted to Jan 2023 version of vscode where I know it was working before, but that showed no change.

Running the following code works for console output, but in Jupyter notebook nothing.

Where should I look to try and resolve this issue? Any guidance will be valuable because I have pretty much exhausted my knowledge of fastprogress and what I can do.

from time import sleep
from fastprogress.fastprogress import master_bar, progress_bar

mb = master_bar(range(10))
progress_bar(range(100), parent=mb)

for i in mb:
    for j in progress_bar(range(100), parent=mb):
        sleep(0.01)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions