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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file ipyplot-1.0.1.tar.gz.

File metadata

  • Download URL: ipyplot-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for ipyplot-1.0.1.tar.gz
Algorithm Hash digest
SHA256 53abdb571b0f76cb5090fb5463f77c3ea59da620794207bdab5720ea6ce9c23a
MD5 b96056d705f30f3d0d359800ebe30ca3
BLAKE2b-256 607a1f3fb991be74c3941002537bd673894aaadfbede1752a989e28ba23f4ef3

See more details on using hashes here.

File details

Details for the file ipyplot-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: ipyplot-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for ipyplot-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 575a2433b6523bc14f31a9a0ab07a971895b04d8521ff837ab8ba07a1bd7c4c2
MD5 24b995e90463c42ad88f424e11b3622e
BLAKE2b-256 30946cc26dc65447e92f081f67156ca6b052575a1a1d13817812f9a03171e553

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page