bokeh.glyph came first but that's because the bokeh GUI models is OO.  the session/exporting stuff doesn't need to be.  I think there is an advantage to starting from free functions in this case because they're simpler.

Regardless, I dont' think OO vs free functions is the issue here.

some function like:

```
write_html(doc, INLINE,"Anscombe's Quartet")
```

Should be sufficient here ( we already store the filename from output_file)