Page

The Page object controls the rendering of a visualization to a canvas, which can be a file or an element in a GUI. They are created using the new_page_from_buffer and new_page_from_filename methods.

toolbox.new_page_from_buffer(buff)
toolbox.new_page_from_filename(filename, width, height)
write(chart)

Output chart to the canvas.