save_html¶
save_html
¶
save_html(
path: str | PathLike[str],
*plots: Timeline | Iterable[Timeline],
title: str | None = None,
) -> Path
Write plots to one HTML file that opens in any browser, without Python or a network:
their data, the drawing code and the styles are all in the file. Pan, zoom, hover (with
the tooltip columns), Time / Order, folding and full screen work, and linked plots stay
linked; selecting does not (it needs Python). One plot fills the window; several are shown
one above the other.
Parameters:
-
path(str | PathLike[str]) –The file to write (
.html). -
plots(Timeline | Iterable[Timeline], default:()) –The plots, in order (or lists of plots).
-
title(str | None, default:None) –The page's title; by default the first plot's title.
Returns:
-
Path–The path written.