SciTeX plotting module (alias for figrecipe)
Project description
scitex-plt
SciTeX plotting module - an alias package for figrecipe.
Interfaces: Python ⭐⭐⭐ (primary) · CLI ⭐⭐ · MCP ⭐⭐⭐ · Skills ⭐⭐ · Hook — · HTTP —
Problem and Solution
| # | Problem | Solution |
|---|---|---|
| 1 | Matplotlib boilerplate for publication figures — manually setting DPI, fonts, axis labels, CSV sidecars, and mm-precision layout for every paper figure | stx.plt.subplots() — thin wrapper around figrecipe returning a tracked axes with .plot_line(...), set_xyt(...), and publication-ready defaults |
| 2 | Figure and underlying data drift apart — the PNG lives in the repo, the CSV that generated it sits in a notebook cell and eventually disappears | Auto CSV export on save — stx.io.save(fig, "plot.png") writes plot.png + plot.csv + plot.yaml atomically so the data is always reproducible |
| 3 | No way for AI agents to generate figures — coding agents need a structured API, not matplotlib's stateful pyplot | MCP tools (plt_line, plt_scatter, plt_stx_*) — agents compose publication plots from CSVs via column specs, no inline arrays needed |
Installation
pip install scitex-plt
This will automatically install figrecipe as a dependency.
Usage
import scitex_plt as plt
fig, ax = plt.subplots()
ax.plot([1, 2, 3], [1, 4, 9])
plt.save(fig, "figure.png")
About
scitex-plt is part of the SciTeX ecosystem. It provides
the same API as figrecipe for users who prefer the scitex-plt package name.
For full documentation, see figrecipe.
License
AGPL-3.0 - same as figrecipe.
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
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 scitex_plt-0.24.3.tar.gz.
File metadata
- Download URL: scitex_plt-0.24.3.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b71b6410b923123ea78bc8e370ab4f5cc84450ed7bb3dc3ae29816fa03354e0e
|
|
| MD5 |
3bfa7a2f0a91e8d746af6d18150833ef
|
|
| BLAKE2b-256 |
8c90e6bc2128d204b9c5562291f9855b64c49e08a5d564f572d764e20d0f7b1b
|
Provenance
The following attestation bundles were made for scitex_plt-0.24.3.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-plt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_plt-0.24.3.tar.gz -
Subject digest:
b71b6410b923123ea78bc8e370ab4f5cc84450ed7bb3dc3ae29816fa03354e0e - Sigstore transparency entry: 1396568447
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-plt@1b227148c98dc3617aaca09335a0341455d8b20f -
Branch / Tag:
refs/tags/v0.24.3 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1b227148c98dc3617aaca09335a0341455d8b20f -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_plt-0.24.3-py3-none-any.whl.
File metadata
- Download URL: scitex_plt-0.24.3-py3-none-any.whl
- Upload date:
- Size: 5.5 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 |
db4ce9f81db2ce0d9eb823eab4b693e68aacf4f05023059abc5d7109b02b2618
|
|
| MD5 |
d397c281dd203d97991efb0b0e9be054
|
|
| BLAKE2b-256 |
554883b421f9cf96c7fb8453f237ea65a01ff0a0d8a53dd9fbd17087d39a6634
|
Provenance
The following attestation bundles were made for scitex_plt-0.24.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-plt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_plt-0.24.3-py3-none-any.whl -
Subject digest:
db4ce9f81db2ce0d9eb823eab4b693e68aacf4f05023059abc5d7109b02b2618 - Sigstore transparency entry: 1396568452
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-plt@1b227148c98dc3617aaca09335a0341455d8b20f -
Branch / Tag:
refs/tags/v0.24.3 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1b227148c98dc3617aaca09335a0341455d8b20f -
Trigger Event:
push
-
Statement type: