Wiki Home | nick3499 - nick3499/nick3499.github.io GitHub Wiki
Home Page of nick3499
.ipynb
To convert a Python Notebook to HTML, use jupyter nbconvert --to html foo.ipynb
.
.Rmd
If an .Rmd file does not generate images, then using the knit()
and markdownToHTML()
functions is a more economical option. Since render()
generates base64 images, and well prettified, so less economical.
File was generated using knit()
and markdownToHTML()
: peter_hall.html
File was generated using render()
: computational_finance_3.html
plotly.js
Since github.io does not render Web pages with excessive code, image files may replace rendered plots. For example, a revised plots_histogram.html
replaced excess plotly.js
code with histogram.png
. It seemed as if the entire plotly.js library was contained within that one .html
file. In fact, that excessive file was crashing my Atom text editor. Most of that excess has basically been reduced to <img src="/histogram.png" />
.
In the future, I may store plotly.js
separately in the repo and link to it.