Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to embed images in the converted notebook more efficiently #26

Open
pde opened this issue Jun 14, 2017 · 2 comments
Open

Comments

@pde
Copy link
Member

pde commented Jun 14, 2017

Currently, we produce the hosted copy of the notebook with ipython nbconvert --execute --to html. That produces a giant HTML blob with very large embedded png graphs. That HTML blob is huuuugge, 11MB and counting. It would be nice to (1) embed SVG graphs instead, they should be much smaller; and (2) split them out into separate files so the page can render before the graphs have been downloaded.

This is a good volunteer task if you're knowledgeable about Jupyter Notebook, Matplotlib and nbconvert...

@pde
Copy link
Member Author

pde commented Oct 3, 2017

Likely strategy for this: modify matplotlib calls to write out svg files, and then modify Metric.graph() to write out HTML() embeds of those svg graphs.

@pde
Copy link
Member Author

pde commented Oct 3, 2017

@pde pde added the graphing label Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant