Skip to main content

Simple package that leverages IPython and HTML for more efficient, reach and interactive plotting of images in Jupyter Notebooks

Project description

IPyPlot is a small python package offering fast and efficient plotting of images inside Jupyter Notebooks cells. It's using IPython with HTML for faster, richer and more interactive way of displaying big number of images.

Getting Started

Checkout the examples below and gear-images-examples.ipynb notebook which holds end to end examples for using IPyPlot.

Installation

IPyPlot can be installed directly from this repo using pip:

pip install git+https://github.com/karolzak/ipyplot

or through PyPI

pip install ipyplot

Usage examples

IPyPlot offers 3 main functions which can be used for displaying images in notebooks:

To start working with IPyPlot you need to simply import it like this:

import ipyplot

and use any of the available plotting functions shown below (notice execution times).
images - should be a numpy array of either string (image file paths), PIL.Image objects or numpy.array objects representing images
labels - should be a numpy array of string

Display images in separate, interactive tabs for each class

Display a collection of images

Display class representations (first image for each class)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipyplot-1.0.1.tar.gz (3.9 kB view hashes)

Uploaded source

Built Distribution

ipyplot-1.0.1-py3-none-any.whl (5.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page