2016-12-25 Gallery of notebookΒΆ
The module sphinx-gallery
became quite popular. I discovered that
sphinx-nbexamples was doing the same.
I integrated the first one into pyquickhelper but I did something
different for the second as I already had some custom logic to handle
notebooks.
get_thumbnail <pyquickhelper.helpgen.ipythonhelper.notebook_runner.NotebookRunner.get_thumbnail()
which creates a thumbnail by getting the last image if there is one
or the last result output cell. The module uses matploblib to builds an image
with text results.
You can check the results at Notebook Gallery.