Lifemap.save
='Lifemap') Lifemap.save(path, title
Save the Jupyter widget for this instance to an HTML file.
Parameters
Name | Type | Description | Default |
---|---|---|---|
path | str | Path | Path to the HTML file to save the widget. | required |
title | str | Optional HTML page title, by default “Lifemap” | 'Lifemap' |
Examples
>>> import polars as pl
>>> from pylifemap import Lifemap
>>> d = pl.DataFrame({"taxid": [9685, 9615, 9994]})
>>> (
="100%", height="100vh")
... Lifemap(d, width
... .layer_points()"lifemap.html", title="Example lifemap")
... .save( ... )