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.

Source Distribution

absplots-0.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

absplots-0.2.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file absplots-0.2.0.tar.gz.

File metadata

  • Download URL: absplots-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.1

File hashes

Hashes for absplots-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0b0fdf0e18f8a524799933e7a3adee3a9941fcff1c2d6fe69162cbee9746cada
MD5 837f31323d0c1c715c68c9cf38348290
BLAKE2b-256 cef69c9de7cead864e6237f93fa6409859aecd37e145013c676ee76174772bc1

See more details on using hashes here.

File details

Details for the file absplots-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: absplots-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.1

File hashes

Hashes for absplots-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a91df8127804183e45683077523c716334ec3c6397474460ff6a3b4785e2be8
MD5 76a64ee825bc994ac98603ee7ad98ebd
BLAKE2b-256 1266753ce763f084fecf53d5a368bd7c2b21466b7a94d594463d5be8158163c2

See more details on using hashes here.

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