Skip to main content

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

scitex_plt-0.24.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scitex_plt-0.24.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file scitex_plt-0.24.2.tar.gz.

File metadata

  • Download URL: scitex_plt-0.24.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_plt-0.24.2.tar.gz
Algorithm Hash digest
SHA256 6e57c25df9636502cab7b65147b7c9f2c303b8a7eecb95ce48934a877759b1f3
MD5 64f3eb236d282c0b9b356b6d636c7332
BLAKE2b-256 c9f954e636050519062f91e986a6a4ae8c9dc6b40eab62f80bc797d0764252c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_plt-0.24.2.tar.gz:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-plt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scitex_plt-0.24.2-py3-none-any.whl.

File metadata

  • Download URL: scitex_plt-0.24.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_plt-0.24.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bdc4c4fb5ef985665e3eb058b3f5576181a6db39d25cfa0676827fbb0b50b6e9
MD5 e5ac1499ed39dc2ac7dd59b307e9770d
BLAKE2b-256 4c540b6b6e38e8fc2d77d96bbef91c48f5808e7571cd08a0fbaa752c2232d908

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_plt-0.24.2-py3-none-any.whl:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-plt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page