reno.tab_exporter#

Script to export clean copies of interactive explorer visualizations/session tabs.

Functions

export_bokeh_html(model_file, panesset_file, ...)

Leaving in just in case we find it useful, but this effectively dumps out a small HTML that just loads in a ****ton of JS to populate every bokeh component. This is fine for just HTML outputs, but very messy to try to create printable PDFs with.

export_clean_html(model_file, panesset_file, ...)

Cleaner approach to export_bokeh_html.

export_selenium_pdf(input_path, output_path)

Create a PDF from an HTML file using selenium's chrome webdriver.

load_pn_panes(model_file, panesset_file)

Re-populate a new tab of panes from a JSON serialized panes file.