CMD + K

patchworklib

Community

patchwork for matplotlib

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::patchworklib

Usage Tracking

0.6.3
0.6.2
0.5.2
3 / 8 versions selected
Total downloads: 0

Description

Patchworklib is a universal composer of matplotlib-related plots (simple matplotlib plots, Seaborn plots (both axis-level and figure-level), and plotnine plots). This library is inspired by patchwork for ggplot2. Accordingly, as original patchwork, users can easily align matplotlib plots with only "/" and "|" operators.

Additionally, several third-party libraries based on matplotlib, such as plotnine and seaborn, provide functions to generate beautiful plots with simple python codes, but many of those plots cannot be handled as matplotlib subplots. Therefore, their placement must be adjusted manually. Now, scientists spend their valuable time arranging figures.

Patchworklib provides a solution for the problem. By using patchworklib, any kind of seaborn and plotnine plots can be handled as matplotlib subplots.

About

Summary

patchwork for matplotlib

Information Last Updated

Apr 22, 2025 at 14:58

License

GPL-3.0-only

Total Downloads

6.4K

Platforms

noarch Version: 0.6.3