When the errors origin lies in a different code cell after resolution the decoration still persists:
Reproducing:
-
create a new jupyter notebook
-
create a new code cell containing
mymessage = "something very interesting"
-
Create s econd code cell containing
print(mymessages)

- Run the two cells , decoration highlights the name error correctly

-
Correct the second cells value to:
print(mymessage)
-
Run the second cell. the code runs successfully, but the error decoration persists

When the errors origin lies in a different code cell after resolution the decoration still persists:
Reproducing:
create a new jupyter notebook
create a new code cell containing
mymessage = "something very interesting"
Create s econd code cell containing
print(mymessages)
Correct the second cells value to:
print(mymessage)
Run the second cell. the code runs successfully, but the error decoration persists