For a quick reminder, sample code is available for opening an Anaconda3 session. In the Sage worksheet toolbar, select Modes > Jupyter bridge.
jupyter command to launch any installed Jupyter kernel from a Sage worksheet
After that, any cell that begins with
%py3 will send statements to the Python3 kernel that you just started. If you want to draw graphics, there is no need to call
You can set the default mode to be your Jupyter kernel for all cells in the worksheet: after putting the following in a cell, click the “restart” button, and you have an anaconda worksheet.
Each call to jupyter() launches its own Jupyter kernel, so you can have more than one instance of the same kernel type in the same worksheet session.