Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sci-figures",
"version": "0.2.0",
"version": "0.2.1",
"description": "Nature-style research figures and their legends: message and outline first, then layout, visual conventions, export to one PDF per figure with editable Arial text, legend writing and independent layout and legend reviews. Ships a skill and the scifig Python package.",
"author": {
"name": "quadbio"
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ For live package edits in a figure repo, depend on the checkout instead:

## Release

Bump `version` in both `pyproject.toml` and `.claude-plugin/plugin.json` and the pin in
`skills/sci-figures/references/setup.md` (tests check they agree), tag `vX.Y.Z`, then bump the `ref` in
[quadbio/claude-plugins](https://github.com/quadbio/claude-plugins).
Bump `version` in `.claude-plugin/plugin.json` and merge: the marketplace follows `main`, and users update when the
version changes.

## License

Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ requires = [ "hatchling" ]

[project]
name = "scifig"
version = "0.2.0"
description = "Style, mm layout, recurring elements and export for Nature-style research figures with editable text."
readme = "README.md"
license = "MIT"
Expand All @@ -16,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [ "matplotlib>=3.8" ]
optional-dependencies.examples = [ "anndata", "pyyaml", "scanpy>=1.10" ]
optional-dependencies.spatial-examples = [
Expand All @@ -36,6 +36,8 @@ urls.Source = "https://github.com/quadbio/sci-figures"
dev = [ "pre-commit", "pytest" ]

[tool.hatch]
version.path = ".claude-plugin/plugin.json"
version.pattern = '"version": "(?P<version>[^"]+)"'
build.targets.wheel.packages = [ "src/scifig" ]

[tool.ruff]
Expand Down
6 changes: 3 additions & 3 deletions skills/sci-figures/references/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
The machine steps (Arial, TeX) are once per machine. If one needs rights or software you don't have, tell the user.

## scifig
In the figure repo's `pixi.toml`:
In the figure repo's `pixi.toml` (its lock pins the commit):
```toml
[pypi-dependencies]
scifig = { git = "https://github.com/quadbio/sci-figures", tag = "v0.2.0" }
scifig = { git = "https://github.com/quadbio/sci-figures" }
```
With uv: `uv add "scifig @ git+https://github.com/quadbio/sci-figures@v0.2.0"`. For live edits to scifig, depend on a
With uv: `uv add "scifig @ git+https://github.com/quadbio/sci-figures"`. For live edits to scifig, depend on a
checkout instead: `scifig = { path = "../sci-figures", editable = true }`.

## Figure conventions
Expand Down
19 changes: 0 additions & 19 deletions tests/test_plugin.py

This file was deleted.

1 change: 0 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading