pip install flottplotDue to current development activities the PyPI version is not always up-to-date.
python3 -m flottplot ...Subcommands:
init: create new Flottplot pages.replace: update Flottplot files.
See the build-in help (-h) for more information.
Load the extension in the notebook:
%load_ext flottplotNow you can create Flottplot cells with %%flottplot and add Flottplot elements into the cell body.
Note that each Flottplot cell is independent of another and elements cannot be shared between them.
Images must be reachable from the root directory of the notebook server. Because JupyterLab does not serve images directly via URL, the extension does not work properly with the lab interface.
To build the package locally, first run make in the root directory of the repository.
This will build all required JavaScript distribution files and put copies of all required assets into the Python module subfolder.
Then install with pip install . from here.