Skip to main content

PyPI version Tests Pepy Total Downloads Coverage Status matplotlib 3.5+ Compatibility EffVer Versioning

What is scilayout?

pip install scilayout

Scilayout is a Python package to make creating multi-panel scientific figures easier, faster, and maybe a little bit more fun. The core idea is to build figures using coordinates in centimetres from the top left using interactive plotting. This approach has a few main benefits:

  1. The iterative process of building figures up from scratch is easier.
  2. Complex layouts can be interchanged more easily.
  3. Exported figure sizes are explicitly stated (in centimetres) for seamless embedding in documents.

There are many guides for Matplotlib styling for scientific publication, and there are a number of packages that make this process easier (e.g. SciencePlots), but this scilayout supports the creation of figures which are 100% ready for embedding in documents.

import scilayout

fig = scilayout.figure()  # it's a matplotlib figure like plt.figure()

# creates a 5 x 5 cm panel with its upper left corner 1 cm from the left and 1 cm from the top
myax = fig.add_panel((1, 1, 5, 5), method="bounds")  # (x, y, width, height)

# %%
# move the panel after it's been created: now 5 x 3 cm, 2 cm from the left and 10 cm from the top
myax.set_location((2, 10, 5, 3), method="bounds")
# or give the upper left and lower right corners (x0, y0, x1, y1) instead
myax.set_location((2, 10, 7, 13), method="extent")

This package is designed for people with:

  • A basic understanding of matplotlib's Axes object and how to work with it (rather than only using plt, the differences described here)
  • A desire to produce figures entirely in code (example approaches described in blogposts from brushingupscience.com and dendwrite.substack)

Metadata

Release files for scilayout 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scilayout 0.2.1
File Size Uploaded Provenance Actions
scilayout-0.2.1.tar.gz 66.1 kB With provenance Details for scilayout-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scilayout 0.2.1
File Interpreter ABI Platform Actions
scilayout-0.2.1-py3-none-any.whl Python 3 none any Details for scilayout-0.2.1-py3-none-any.whl

Total release size: 107.4 kB

Release files / scilayout-0.2.1.tar.gz

Download URL scilayout-0.2.1.tar.gz
Size 66.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c6c364c011ce3fa96336d9bbbe397e4242823c8fb7e6b8d9e198882f7cdcdd7
BLAKE2b-256 checksum
How to use checksums
4ea2f976bfecc72151284e266e721e85a0aa80eed870818552ed686fe3d61493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / scilayout-0.2.1-py3-none-any.whl

Download URL scilayout-0.2.1-py3-none-any.whl
Size 41.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
696fe783691f92def0865b56710a68b1621e2018eba3c847d6f071a9bc676129
BLAKE2b-256 checksum
How to use checksums
11235e41aed9d07fa1bc70e16243319e78033c8ff1145fff30d31949687bd24d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for scilayout 0.2.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scilayout-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page