tawheeler / CrossfilterCharts.jl

A Julia package for automagical DC.js linked charts in your IJulia notebook
Other
17 stars 5 forks source link

delete old htm files #9

Closed tawheeler closed 8 years ago

tawheeler commented 8 years ago

We should delete the old htm files, or create them in the temp dir (tempname())

tawheeler commented 8 years ago

It turns out that the notebook will only open files contained within the current directory (or a subdirectory). This means we cannot link to files in /tmp. I am considering making a temp directory which is automatically cleared with each run, but this could get annoying for users running this in arbitrary directories. Having it explicitly create files locally may also be annoying. Thoughts?

session-id commented 8 years ago

Is there any reason we're using iframes over directly outputting HTML to be displayed for the notebook? If we did the latter we wouldn't need to use temp files at all.

tawheeler commented 8 years ago

I think it's so that we can get the css sourced. If you can get it working without it, that would be great. We may be able to place the necessary resources in Jupyter somewhere.