Today in social science: writing a script to batch-export all the inline matplotlib images in a Jupyter Notebook.
-
-
Replying to @badnetworker
Built in! (What are you working on? I've been assembling a library of stuff that seems to overlap a lot of your tweets lately.) https://nbconvert.readthedocs.io/en/latest/nbconvert_library.html …
1 reply 0 retweets 1 like -
Replying to @generativist
Whoops, didn't know about the RST thing! Oh well, now I know how to load base64-encoded pngs into Pillow and remove the transparency.
2 replies 0 retweets 1 like -
Replying to @badnetworker @generativist
And I'm just assembling a PowerPoint presentation from research that's strewn across several notebooks.
1 reply 0 retweets 1 like -
Replying to @badnetworker
Ah, okay. Well, shameless self-promotion: Your exporter + my nbmerge should make it easy :)https://github.com/jbn/nbmerge
1 reply 0 retweets 0 likes -
Er, actually jupyter does too. IIRC, jupyter nbconvert --to markdown merged.ipynb
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.