Skip to main content

Matplotlib subplots with absolute margins in mm or inches

Project description

https://img.shields.io/pypi/v/absplots.svg https://img.shields.io/pypi/l/absplots.svg https://zenodo.org/badge/186842763.svg

Matplotlib subplots with absolute margins in mm or inches.

Installation:

pip install absplots

Example usage:

import absplots as apl

# init 150x100 mm figure with 5 mm margins between and around subplots
fig, grid = apl.subplots_mm(figsize=(150, 100), nrows=2, ncols=2,
                            gridspec_kw=dict(left=5, right=5, wspace=5,
                                             bottom=5, top=5, hspace=5))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for absplots, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size absplots-0.2.0-py3-none-any.whl (16.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size absplots-0.2.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page