Skip to main content

Pepy Total Downloads Coverage Status 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.0

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.0
File Size Uploaded Provenance Actions
scilayout-0.2.0.tar.gz 65.5 kB With provenance Details for scilayout-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 106.4 kB

Release files / scilayout-0.2.0.tar.gz

Download URL scilayout-0.2.0.tar.gz
Size 65.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cdc56c2fe498281bcef39d41b655f1a6eb969b058f4c3a2a59389f7c95f3069e
BLAKE2b-256 checksum
How to use checksums
02361b71ac05f3abe599731fc815f80765adb191c0efa57a65741862960a974e
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.0-py3-none-any.whl

Download URL scilayout-0.2.0-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89bd9a81463c0eeae74a84a16f1e2cf64d9ae2d8fb21c040bcfa777d90a65843
BLAKE2b-256 checksum
How to use checksums
c81fcbd3b5ee4eb42b9992515516b79c7fff36b401d3b97ded55a7af11fb81f9
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.0

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.0.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