Source code demonsytrating the integration of Plotly visualisation capabilities into cogent3 that was usded to produce the figures in this blogpost.
To run the notebook you need a Python installation. We expect most readers to be familiar with conda. We suggest you create a conda environment and activate it
$ conda create -n c3demo python=3.12
$ conda activate c3demo
Then install cogent3 with plotly dependencies as
$ pip install "cogent3[extra]" ipykernel nbformat jupyter
We recommend using VS Code with the Python and Jupyter extensions for running the notebook.