Glyf
is a library for easy plotting of multiple images and graphs in Python. It provides a simple interface that allows flexible plots parametrization.
It supports numpy
arrays as inputs and uses matplotlib
to produce output visualizations.
Import is as ordinary as this.
from glyf import plot
-
Plot single image.
plot(image)
-
Plot image and mask overlayed.
plot([image, mask])
-
Plot image and mask side to side.
plot([image, mask], combine='separate')
See tutorials.
pip3 install glyf
The code in this repository is based on plotter module of batchflow framework developed by Data Analysis Center team under Apache 2.0 license. The main focus of this project is adding new features without needing to keep backward compatibility with API of the original project.