Quilter
The composer of Matplotlib plots. Python implementation of the R package patchwork.
This package overloads/creates operators for the matplotlib Figure class so that you can add and divide figures together into a new figure with subplots.
Adding two figures together creates a new figure with the original figures side-by-side as subplots. Dividing will stack the figured on top of each other.
Currently the package converts the input figures to images before reloading the images into the axes objects of the output figure. If anyone has a better way to copy actual axes objects to a new figure I'd loved help.
Here are some examples:
import matplotlib.pyplot as plt
import quilter # best to put this after your matplotlib import
fig1, ax1 = plt.subplots(figsize=(5,3))
ax1.plot([1, 2], label='my leg')
ax1.set_title("test")
ax1.legend()
fig2, ax2 = plt.subplots(figsize=(5,3))
ax2.plot([2, 2])
ax2.set_title("test 2")
Adding figures together
out = fig1 + fig2
Dividing figures
out = fig1 / fig2
More complex examples
out = (fig1 + fig2) / fig2
out = (fig1 + fig2) / (fig1 + fig2)
Metadata
Release files for quilter 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quilter-0.0.3.tar.gz | 3.2 kB | Without provenance | Details for quilter-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quilter-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for quilter-0.0.3-py3-none-any.whl |
Total release size: 7.7 kB
Release files / quilter-0.0.3.tar.gz
| Download URL | quilter-0.0.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
194183d58a34d2a50f083deda850ac3b18a67e3141b1222eae08ec1bb09cf582
|
|
BLAKE2b-256 checksum How to use checksums |
cd391e281547ae55cf26e827f02c6b0184ad830e8f2a18503d87610286aa4853
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
|
Release files / quilter-0.0.3-py3-none-any.whl
| Download URL | quilter-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dffd725c3672a591bc0eca99d78191f2045551b32bfc71d02037227354e3437a
|
|
BLAKE2b-256 checksum How to use checksums |
b00283f83ff36aefe3bdb474eec05071ef089ce0707c94f0e343d89efe9165ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
|
Security for quilter 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.