matplotlib / ipympl

Matplotlib Jupyter Integration
https://matplotlib.org/ipympl/
BSD 3-Clause "New" or "Revised" License
1.57k stars 227 forks source link

Fix nbconvert pdf export #404

Closed martinRenou closed 2 years ago

martinRenou commented 2 years ago

Fix #403

When exporting to pdf, the only mimetype that makes sense is the image/png one, so we need it around.

github-actions[bot] commented 2 years ago

Binder :point_left: Launch a binder notebook on branch _martinRenou/ipympl/fix_nbconvert_pdfexport

tovrstra commented 2 years ago

Thanks for the quick fix!! (I've also tested it locally and the fix works.)

martinRenou commented 2 years ago

Thanks for trying :)

I see another issue on the HTML export with nbconvert. I'm trying to push a fix for that too and should release 0.8.3.