Skip to main content

Plotly friendly, Jupyter Notebook HTML Exporter.

Project description

Plotly friendly, Jupyter Notebook HTML Exporter.

NBConvert is a module to convert Jupyter Notebooks to other formats (pdf, html etc.). It supplies HTMLExporter which is used to convert Jupyter Notebooks to html.

PlotlyHTMLExporter is a custom Exporter derived from HTMLExporter. It sanitizes the JS/HTML present in output cells, but keeps the trusted plotly.js output intact, thus allowing the plotly charts to be rendered in the resulting html.


Using pip:

$ pip install plotlyhtmlexporter

From Source:

$ git clone
$ cd plotlyhtmlexporter
$ python install


From Command Line (with NBConvert):

$ jupyter nbconvert --to plotlyhtml mynotebook.ipynb

From the Python interpreter:

>>> import nbformat
>>> nb ='mynotebook.ipynb', 4)
>>> from plotlyhtmlexporter import PlotlyHTMLExporter
>>> exp = PlotlyHTMLExporter()
>>> body, resources = exp.from_notebook_node(nb)

License: MIT

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
plotlyhtmlexporter-0.0.2.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page