Is it possible to have new printouts at top of cell?

This doesn’t do exactly what you want with new output being at the top in the way you describe, however, it gives you some options…
With JupyterLab you can open the console and enable Show all kernel activity and the most current output from your cell will be stuck to the bottom of the console. It will look similar to this video where the top of the map is seen in the upper view and the bottom is ‘stuck’ to the bottom panel. I tested a larger range than in your demo code and it works. I describe how to do that in detail here because it has changed since that video was made.

If you want the console to be on the top, you can drag it’s tab up above the notebook to rearrange the two windows so that technically it shows the new output on the top in a manner of speaking. The rearranged version looks like this:



Plus, to save scrolling in the classic notebook interface, I note there is the Scroll Down extension. You can find more information about those extensions here. You may have already installed the community-contributed unofficial extensions and just need to enable the particular one. The configuration dashboard shown towards the bottom of the page here is convenient for that.

1 Like