gigasquid / libpython-clj-examples

Examples using libpython-clj
Eclipse Public License 1.0
143 stars 20 forks source link

convert notebooks to pinkgorilla notebook #18

Open awb99 opened 4 years ago

awb99 commented 4 years ago

Hi Carin!

I would like to convert your python notebooks in this repo and on nextjournal to pinkgorilla notebooks. I wanted to check with you if this is ok.

Thanks

awb99 commented 4 years ago

I also have adapted your macro with-show that creates png files from matplotlib plots. https://github.com/pink-gorilla/python-gorilla/blob/master/src/pinkgorilla/python/plot.clj With the adapted version, matplotlib plots will be stored and rendered to a pinkgorilla notebook.

awb99 commented 4 years ago

Could it be that plots need to be closed after plotting them? i am getting errors after makibng a few seaborn plots.

Screenshot from 2020-04-23 00-06-25

gigasquid commented 4 years ago

@awb99 Feel free to convert examples to pinkgorilla 🦍 :)

I haven't run into that particular error, but it looks like it isn't closing something? If you find out anything, let us know.