To create .html from plotly:
from plotly.offline import plot
fig = your_plotly_figure_object
html = plot(fig, auto_open=False, output_type='div')
with open("~/ada/jczestochowska.github.io/_includes/YOUR_PLOT_NAME.html", 'w') as file:
file.write(html)
To add your interactive (e.g plotly) plot:
- Place you .html file under _includes
- Include it in index.md using this syntax: {% include MY_AWESOME_FILENAME.html %}
- Push
- Wait a minute and check if your plot shows correctly :) here: https://jczestochowska.github.io/
To add your plot as an image file:
- Place your image in the root directory of this repository
- Update index.md with following entry
