SigmaPlot macro conversion utilities for matplotlib
Project description
scitex-gists
SigmaPlot macro printers — version-controlled VB-style macros emitted from Python.
Full Documentation · uv pip install scitex-gists[all]
Problem and Solution
| # | Problem | Solution |
|---|---|---|
| 1 | SigmaPlot v12 macro files live outside version control — one lab machine has them, nobody else does | Python prints the macro — sigmacro_process_figure_s() emits VB-style macro text; copy-paste into SigmaPlot editor; macros are now part of the repo |
Installation
pip install scitex-gists
Architecture
scitex_gists/
├── __init__.py
├── _SigMacro_processFigure_S.py ← prints figure-processing VB macro
├── _SigMacro_toBlue.py ← prints color-tweak VB macro
└── _skills/ ← agent-facing skill pages
A two-function library: each _SigMacro_*.py module wraps a
multi-line VB-style macro string and a print() helper. Adding a new
macro = add a new _SigMacro_<name>.py and re-export from
__init__.py.
1 Interfaces
Python API
from scitex_gists import sigmacro_process_figure_s, sigmacro_to_blue
sigmacro_process_figure_s()
sigmacro_to_blue()
Each function prints VB-style macro text to stdout. Pipe into your clipboard or redirect to a file, then paste into the SigmaPlot macro editor.
Demo
flowchart LR
A["python -c 'from scitex_gists import sigmacro_process_figure_s; sigmacro_process_figure_s()'"]
--> B["VB macro printed to stdout"]
B --> C["copy / pipe to clipboard"]
C --> D["paste into SigmaPlot v12<br/>macro editor"]
D --> E["run macro on figure"]
$ python -c "from scitex_gists import sigmacro_to_blue; sigmacro_to_blue()" | pbcopy
# now paste into the SigmaPlot macro editor and run
Quick Start
from scitex_gists import sigmacro_process_figure_s, sigmacro_to_blue
sigmacro_process_figure_s() # prints the figure-processing macro
sigmacro_to_blue() # prints the color macro
Part of SciTeX
scitex-gists is part of SciTeX. Install via
the umbrella with pip install scitex[gists] to use as
scitex.gists (Python) or scitex gists ... (CLI).
Four Freedoms for Research
- The freedom to run your research anywhere — your machine, your terms.
- The freedom to study how every step works — from raw data to final manuscript.
- The freedom to redistribute your workflows, not just your papers.
- The freedom to modify any module and share improvements with the community.
AGPL-3.0 — because we believe research infrastructure deserves the same freedoms as the software it runs on.
License
AGPL-3.0
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_gists-0.1.6.tar.gz.
File metadata
- Download URL: scitex_gists-0.1.6.tar.gz
- Upload date:
- Size: 8.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2b2246658307f4ac1836f156839d5cbdf1614ffd9d71a8567adcd92c57e9c7c
|
|
| MD5 |
9ee86f6515cd7a35b9fe24b9823b29e5
|
|
| BLAKE2b-256 |
ab031af9aad256196aeda2218a1577fee63b128e7577c310c7f606469100321c
|
Provenance
The following attestation bundles were made for scitex_gists-0.1.6.tar.gz:
Publisher:
pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-gists
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_gists-0.1.6.tar.gz -
Subject digest:
e2b2246658307f4ac1836f156839d5cbdf1614ffd9d71a8567adcd92c57e9c7c - Sigstore transparency entry: 1568299770
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-gists@4a7442d67217a5788e90bc928b4cf265478e1f97 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-and-github-release-on-tag.yml@4a7442d67217a5788e90bc928b4cf265478e1f97 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file scitex_gists-0.1.6-py3-none-any.whl.
File metadata
- Download URL: scitex_gists-0.1.6-py3-none-any.whl
- Upload date:
- Size: 8.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1191e9dbeed19aa70813cde557121d1fe396e6958b19885912bc8945ddbde03
|
|
| MD5 |
25d275c8e299d005223f19224430a2ad
|
|
| BLAKE2b-256 |
553f5cadd44b557f2254e017180b5ea549a24b1d6298f248defa540bf2a5a4cb
|
Provenance
The following attestation bundles were made for scitex_gists-0.1.6-py3-none-any.whl:
Publisher:
pypi-publish-and-github-release-on-tag.yml on ywatanabe1989/scitex-gists
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_gists-0.1.6-py3-none-any.whl -
Subject digest:
f1191e9dbeed19aa70813cde557121d1fe396e6958b19885912bc8945ddbde03 - Sigstore transparency entry: 1568299861
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-gists@4a7442d67217a5788e90bc928b4cf265478e1f97 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-and-github-release-on-tag.yml@4a7442d67217a5788e90bc928b4cf265478e1f97 -
Trigger Event:
workflow_dispatch
-
Statement type: