Skip to main content

seaborn-image: image data visualization and processing like seaborrn using matplotlib, scipy and scikit-image

Project description

seaborn-image: image data visualization

Tests Codecov PyPI Documentation Status

Seaborn-like image data visualization using matplotlib, scikit-image and scipy.

Description

Seaborn-image is a seaborn like python image visualization and processing library based on matplotlib, scipy and scikit-image.

The aim of seaborn-image is to provide a high-level API to process and plot attractive images quickly and effectively.

Documentation

Check out the docs here

Installation

pip install seaborn-image

Usage

Simple usage

import seaborn_image as isns

"""Plot image"""
isns.imgplot(data)

"""Plot image with scalebar"""
isns.imgplot(data, dx=0.01, units="um")

"""Add colorbar label"""
isns.imgplot(data, dx=0.01, units="um", cbar_label="Height (nm)")

Plot image with a histogram

import seaborn_image as isns

isns.imghist(data, dx=150, units="nm", cbar_label="Height (nm)", cmap="ice")

Set context like seaborn

import seaborn_image as isns

isns.set_context("notebook") # Other options include paper, talk, presentation, poster

Apply image filters (from scipy and skimage) and plot

import seaborn_image as isns

isns.filterplot(data, filter="gaussian", sigma=5, cbar_label="Height (nm)")

Check out the more information here

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

seaborn-image-0.3.1.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

seaborn_image-0.3.1-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

Supported by

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