nbfigtulz
is a small library to show and save visualizations made via matplotlib with the aim to let the user conveniently render publication ready images by default while working in JupyterLab. The main features of nbfigtulz
are:
- Images are generated and stored in the PNG and PGF format which lends itself perfectly for inclusion in PDF/A-1b documents.
- PNGs are saved Base64 encoded within a notebook. This makes the notebook free-standing and one can send raw notebooks to fellow researchers without having to remember to include various additional files such as images. Note that one does not have to re-run the notebook to display the images.
- Users are encouraged to render small images with high-resolution. Ideally, these images can be included without rescaling into a document.
Find our documentation here.
nbfigtulz
releases are available as wheel packages for macOS, Windows and Linux on PyPI.
Install it using pip:
python -m pip install -U pip
python -m pip install -U nbfigtulz
In addition to our documentation we provide a short notebook with a few examples: