PROTEUS Thermocline matplotlib theme: brand color cycles, phase colormaps, light + dark variants.
Project description
proteus-mpl
PROTEUS Thermocline matplotlib theme. Publication-grade figures whose colors, fonts, and surfaces match the slides, the website, and the docs.
Install
pip install proteus-mpl
From a checkout of the repository: pip install figures/proteus-mpl (or cd
into the folder and pip install .).
Use
import proteus_mpl
proteus_mpl.use() # light: Paper background — papers, light slides
# proteus_mpl.use("dark") # dark: Void background — dark slides, hero figures
What you get
- Cycles — light: five of the six module-domain colours (stellar's pale
tint is omitted on Paper) + ink + fog (
proteus_mpl.CYCLE); dark: a substitution cycle with light-safe tones (CYCLE_DARK). The domain set and the light cycle are CVD-checked (Machado 2009, min pairwise ΔE 16.4). Keep legends on multi-series plots. - Module domain colors —
proteus_mpl.DOMAINS["interior"]etc. Use these whenever a line is a module (SPIDER output → interior red). Stable across every paper, talk, and diagram. - Colormaps —
proteus(sequential, Void→Paper; default for imshow / pcolormesh),proteus_div(diverging, light midpoint — print-safe for anomalies/residuals),proteus_phase(the brand ramp, magma→void→ocean, dark midpoint — hero figures and dark slides)._rreversals registered. - Type — Instrument Sans labels, Spline Sans Mono available for ticks via
fontfamily="Spline Sans Mono"; titles bold, left-aligned. To bundle the fonts, copy the TTFs from the repository'sfonts/folder intosrc/proteus_mpl/fonts/; missing fonts fall back gracefully. - Publication settings — 300 dpi savefig, tight bbox, TrueType embedding
(fonttype 42), text-as-paths SVG. Prefer
fig.savefig("fig.pdf").
Conventions
- Size figures at final printed size (A&A column ≈ 3.5 in) and keep default font sizes — never shrink a huge figure down.
- Light figures on light surfaces, dark figures on dark — no visible card.
transparent=Truewhen a journal page must show through.- Magma is the hot signal: reserve it for the series you want the room to look at. Everything else starts from Ocean.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file proteus_mpl-1.0.0.tar.gz.
File metadata
- Download URL: proteus_mpl-1.0.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d78ccc633b2dba59a4b20043a31e0fe2eb123cdb7f08cd6199f6d7567f5736e
|
|
| MD5 |
464c74f89920bbf024638dbb826e00b6
|
|
| BLAKE2b-256 |
996bccf06e937300694f250bc7131cc7373786dadc1f5e0c1670168f3d4e835f
|
Provenance
The following attestation bundles were made for proteus_mpl-1.0.0.tar.gz:
Publisher:
release.yml on FormingWorlds/proteus-visual-language
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
proteus_mpl-1.0.0.tar.gz -
Subject digest:
3d78ccc633b2dba59a4b20043a31e0fe2eb123cdb7f08cd6199f6d7567f5736e - Sigstore transparency entry: 2155354370
- Sigstore integration time:
-
Permalink:
FormingWorlds/proteus-visual-language@d59fcecf00846c1d99f701e776f0d3c54cd6c669 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/FormingWorlds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d59fcecf00846c1d99f701e776f0d3c54cd6c669 -
Trigger Event:
push
-
Statement type:
File details
Details for the file proteus_mpl-1.0.0-py3-none-any.whl.
File metadata
- Download URL: proteus_mpl-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6251215479a37352f80eb5a3f4b2057640b07fb68569ad1f39d5f8f7277e3104
|
|
| MD5 |
d8df287b2c277f7c44dafeb752dd7663
|
|
| BLAKE2b-256 |
aa3c8d6a7e7ad146b3edc0583fd924ddc2f0145536a745e2595cd3579ac8605b
|
Provenance
The following attestation bundles were made for proteus_mpl-1.0.0-py3-none-any.whl:
Publisher:
release.yml on FormingWorlds/proteus-visual-language
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
proteus_mpl-1.0.0-py3-none-any.whl -
Subject digest:
6251215479a37352f80eb5a3f4b2057640b07fb68569ad1f39d5f8f7277e3104 - Sigstore transparency entry: 2155354464
- Sigstore integration time:
-
Permalink:
FormingWorlds/proteus-visual-language@d59fcecf00846c1d99f701e776f0d3c54cd6c669 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/FormingWorlds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d59fcecf00846c1d99f701e776f0d3c54cd6c669 -
Trigger Event:
push
-
Statement type: