Skip to main content

Matplotlib subplots with absolute margins in mm or inches

Project description

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.

Source Distribution

absplots-0.1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

absplots-0.1.0-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page