Do you know of a better tool for such a flow, combined with the ability to have markdown+latex docs intermingled with the code? 'cause this is my workflow, but jupyter's code editor and kernell restart drives me crazy and anything else will have me keep the notes/docs separate from the code...
And please don't suggest Mathematica :) I absolutely love it's ux/i, but nobody uses it in ML/AI...