movement of the notebook upon evaluation

asked 2017-12-16 10:07:23 -0600

danielvolinski gravatar image

When executing "Run All" on a SageMath notebook with many code cells (let say 100), the notebook moves in a strange way: First it starts from the end of the notebook, and then it moves upward.

I would like the notebook to always show me the cell that is evaluated right now and move accordingly, i.e. downward until it gets to the end of the notebook.

As it works today, I have to search where is the current cell that is been evaluated and move the notebook manually to monitor progress. Moreover, there is no indication that the notebook is evaluation anything. There should be a flashing button that should indicate that the notebook is evaluation something and is not idle.

Thanks,

Daniel

edit retag flag offensive close merge delete

Comments

That sounds strange--I don't know why "Run All" would appear to evaluate cells from bottom to top. Is there someone local to you who you might be able to find who might have experience with the Jupyter notebook and can help you? Otherwise it's hard to know what to say without seeing your notebook. You could also try putting it on https://mybinder.org/. You can start, if you have a GitHub account, by forking the sample binder project for Sage: https://github.com/sagemath/sage-bind...

Iguananaut gravatar imageIguananaut ( 2017-12-19 03:51:57 -0600 )edit
1

Hi Iguananaut, You can take examples from http://sagemanifolds.obspm.fr/example... If you take the first one in category 2-dimensional manifolds: SM_sphere_S2 which contains 160 cells, then evaluate all the notebook, you will see how the notebook "moves". First it shows the bottom of the notebook, then the notebook seems to go up but never showing where is the cell that is currently been evaluated. In order to know were the evaluation takes place, you have to manually look for the cell being evaluated. You have no idea if the evaluation is going on or if it has stopped as a consequence of reaching the file end or having an error.

danielvolinski gravatar imagedanielvolinski ( 2017-12-21 04:22:32 -0600 )edit

Thanks, I'll give it a try. Regardless this is probably a notebook issue not specific to Sage...

Iguananaut gravatar imageIguananaut ( 2018-01-05 09:25:03 -0600 )edit