I recently updated to version 4.02 and there is problem in auto indentations. Which was not in previous version. After pressing enter on keyboard the jupyternotebook should give the correct indentations. I am using the it on Ubuntu.
Does this issue address what you are seeing? Or is it different?
Yes. Issue resolved after restart.