Launch the Jupyter notebook with jupyter notebook
or Jupyter lab with jupyter lab
and launch a new Python notebook by selecting the xoctave kernel.
Xeus Octave comes with two Ocatve graphical toolkit for rendering plots.
The notebook
toolkit renders plots as inline images in the notebook. The render is done natively using OpenGL on the kernel side. Select this toolkit using graphics_toolkit notebook
in the notebook.
The experimental plotly
toolkit calls Plotly web API to render plot as interactive HTML elements, with zoom, cursors, and hover tooltips. Select this toolkit using graphics_toolkit plotly
in the notebook.
With Jupyter lab, the plotly extension is also needed. It can be installed with conda
/mamba
(or pip
)
mamba install -c conda-forge jupyterlab plotly ipywidgets jupyter-dash
The extension is already provided with Nteract.
See Plotly documentation for detailed instructions and troubleshooting.