Skip to content

chore: bump version to v2.18.1#165

Open
ywatanabe1989 wants to merge 11 commits intomainfrom
develop
Open

chore: bump version to v2.18.1#165
ywatanabe1989 wants to merge 11 commits intomainfrom
develop

Conversation

@ywatanabe1989
Copy link
Owner

Summary

  • Bump patch version from 2.18.0 to 2.18.1

Test plan

  • Verify version in pyproject.toml reflects v2.18.1
  • CI passes on merge

🤖 Generated with Claude Code

ywatanabe1989 and others added 11 commits February 18, 2026 22:08
figrecipe.colors hid BGR/str2* converters behind _prefixed names.
Import from private names for backward compat, expose only public API in __all__.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove all re-exports of hidden BGR/str2* functions from plt.color
- Update internal callers: get_colors_from_conf_matap → get_colors_from_cmap
- Update internal callers: str2hex → to_hex

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…sher

Aligns workflow filename with PyPI OIDC trusted publisher config.
Follows figrecipe pattern: trigger on release published, two-job build+publish.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace all internal figrecipe._* imports with public API equivalents:
- figrecipe._utils._units → figrecipe.utils
- figrecipe._utils._crop → figrecipe.crop
- figrecipe._api._notebook → figrecipe.utils
- figrecipe._api._seaborn_proxy → figrecipe.utils
- figrecipe._api._style_manager → figrecipe.utils
- figrecipe._composition → figrecipe
- figrecipe._graph._presets → figrecipe
- figrecipe._wrappers → figrecipe.utils
- figrecipe._diagram (single import) → figrecipe

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…igration

Remove ~190 files of the old AxisWrapper/FigWrapper/SubplotsWrapper
infrastructure. figrecipe RecordingAxes + stx_* methods (added in
figrecipe commit dac5b47) replace all functionality.

Deleted:
- _subplots/ (AxisWrapper, FigWrapper, SubplotsWrapper, CSV formatters)
- ax/_style/ and ax/_plot/ (30+ style and plot functions)
- styles/ dead code
- All associated tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…gration

Replace export_as_csv() AxisWrapper calls with figrecipe RecordingFigure proxy:
- _figure_utils.py: New _RecordingFigureDataProxy reads from figrecipe recorder
- _image_csv.py: Remove dead SigmaPlot export block
- _plot_bundle.py: Simplify (CSV from explicit data only)
- _plot_scitex.py: Remove AxisWrapper fallback, keep matplotlib line extractor
- _save.py: Remove AxisWrapper CSV block
- bundle/_mpl_helpers.py: _get_scitex_axes() → stub returning None

CSV data still exported for figrecipe RecordingFigure objects via proxy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…etion

The RecordingFigureDataProxy now handles both states:
- Pre-savefig: reads _array from in-memory recorder args
- Post-savefig: reads from figrecipe-saved <stem>_data/*.csv files

Pass spath through _export_csv_data → get_figure_with_data so the proxy
can locate the data directory. Also removed dead _export_sigmaplot_csv().

Result: stx.io.save(fr_fig, "plot.png") now creates plot.csv alongside
the figrecipe plot.yaml and plot_data/ directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…hase 4

- test_imports.py: Replace 'ax' submodule assertion with figrecipe API checks
  (ax submodule deleted in AxisWrapper migration)
- diagram/__init__.py: Fix broken figrecipe._diagram._compile import
  → figrecipe._diagram._graphviz + figrecipe._diagram._mermaid

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Three files had try-except blocks importing format_record from the
deleted _subplots._export_as_csv module. They already had correct
fallback paths, so remove the dead try blocks and go directly to
the pattern-based column name generation.

- plt/utils/_metadata/_csv.py
- plt/utils/metadata/_data_linkage.py
- plt/utils/_collect_figure_metadata.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments