How do I move the cursor up?

That is very relevant. I don’t use Jupyter but took the liberty of googling for you:

  1. For Python the solution seems to be to call clear_output to remove previous output
  2. This function is apparently available in IJulia.jl as well
    Way to programmatically clear last println() statement in Jupyter cell? - #2 by djsegal
  3. However that thread is quite old and apparently it broke some time ago. The comment about it breaking is quite old itself by now. So I suggest you try this and report back if it doesn’t work

Edit: there is an open issue about this. Maybe @MilesCranmer can comment if there is a known workaround. @Paul_Warburton if it still doesn’t work then consider commenting on the issue I linked to draw attention to it.