toyplot.browser module¶
Functionality for displaying a Toyplot canvas in a web browser.
- toyplot.browser.show(canvases, title='Toyplot Figure')[source]¶
Display one or more canvases in a web browser.
Uses Toyplot’s preferred HTML+SVG+Javascript backend to display one-or-more interactive canvases in a web browser window.
Because the canvases are displayed in a separate web browser process, this function returns immediately.
- Parameters
canvases (
toyplot.canvas.Canvas
instance or sequence oftoyplot.canvas.Canvas
instances.) – The canvases to be displayed.title (string, optional) – Optional page title to be displayed by the browser.