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.3.tar.gz (8.0 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.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for scitex_plt-0.24.3.tar.gz
Algorithm Hash digest
SHA256 b71b6410b923123ea78bc8e370ab4f5cc84450ed7bb3dc3ae29816fa03354e0e
MD5 3bfa7a2f0a91e8d746af6d18150833ef
BLAKE2b-256 8c90e6bc2128d204b9c5562291f9855b64c49e08a5d564f572d764e20d0f7b1b

See more details on using hashes here.

Provenance

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

Hashes for scitex_plt-0.24.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db4ce9f81db2ce0d9eb823eab4b693e68aacf4f05023059abc5d7109b02b2618
MD5 d397c281dd203d97991efb0b0e9be054
BLAKE2b-256 554883b421f9cf96c7fb8453f237ea65a01ff0a0d8a53dd9fbd17087d39a6634

See more details on using hashes here.

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

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