seaborn-image: image data visualization and processing like seaborrn using matplotlib, scipy and scikit-image
Project description
seaborn-image: image data visualization
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for seaborn_image-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff1f64afc5960c0a10f8e510676923edebd23823dd4d7d6eeeda9598fd38cd4a |
|
MD5 | cf56f3210b1d4c9e75c8db5e682f8df7 |
|
BLAKE2b-256 | e222019a55fad49a626ac3dd6001cf39caef88131ca13c4dc52baaf70336900e |