jfbercher / jupyter_latex_envs

(Some) LaTeX environments for Jupyter
Other
112 stars 28 forks source link

Include notebook figures generated with matplotlib format set to notebook #30

Closed olehwaa closed 6 years ago

olehwaa commented 6 years ago

When interactive plots are used in the notebook by setting %matplotlib notebook, the generated figures are not included in the tex processing. In this mode generates a javascript and png image in in a text/html cell. The html image is copied into a image/png cell in the preprocessor, such that it will be recognized by nbconvert as a figure.

jfbercher commented 6 years ago

Seems good to me. Thanks for this contribution @olehwaa!