notebook¶
Module notebook¶
A module with helper functions for Jupyterlab notebooks.
- npfc.notebook.display_image_table(imgs, max_img_per_row=4)[source]¶
Display a table filled with images.
- npfc.notebook.gallery(images, row_height='auto')[source]¶
Shows a set of images in a gallery that flexes with the width of the notebook.
This works only with PNG images.
Very strongly inspired after: https://mindtrove.info/
- Parameters
- Return type
- Returns
the HTML code for displaying the gallery of images in Jupyterlab.