Skip to main content

SciTeX plotting module (alias for figrecipe)

Project description

scitex-plt

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

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.4.tar.gz (7.9 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.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scitex_plt-0.24.4.tar.gz
  • Upload date:
  • Size: 7.9 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.4.tar.gz
Algorithm Hash digest
SHA256 f40eaacb5eecc10dba02241609b6ccc3eebf880b9690078defcda81c034f1a38
MD5 412e24da3369ab7a5acb279b9d4f01c5
BLAKE2b-256 b6327c81e47d0f9db0034e0d1a1d46315a4bffd3bcad1b10b6dfd87e985fa5f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_plt-0.24.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: scitex_plt-0.24.4-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fd443dd245e43bf6f99d0e584569c45591634243126e7371d12d44cc7dfd6626
MD5 732028ff1688cc59ae1320593128ad82
BLAKE2b-256 12cd81371d873fa311ef1e12780cde38b75f18185275c334cd4eb8325fd05319

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_plt-0.24.4-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