Skip to content

Notebook Cell outputs getting duplicated #254563

Open
@DonJayamanne

Description

@DonJayamanne

Run the following in a cell and sometimes the numbers get duplicated

def doit():
    counter = 1
    while True:
        import time
        time.sleep(0.1)

        counter = counter + 1
        print(counter)

        if counter > 5:
            break

doit()

The outputs in the JSON are not duplicated leading me to assume this is a rendering issue.
I.e. the output items aren't duplicated in the notebook cell model.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions