Skip to content

Collection of tools to generate and display visualizations in JupyterLab

License

Notifications You must be signed in to change notification settings

avitase/nbfigtulz

Repository files navigation

nbfigtulz

Python 3.8 Documentation Status PyPI Code style: black

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.

Documentation

Find our documentation here.

Installation

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

Examples

In addition to our documentation we provide a short notebook with a few examples:

About

Collection of tools to generate and display visualizations in JupyterLab

Resources

License

Stars

Watchers

Forks

Packages

No packages published