-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Migrate scitex.plt utility modules to figrecipe to maintain single source of truth.
Background
figrecipe is now the canonical source for:
- Diagram functionality (done in feat(diagram): Delegate diagram functionality to figrecipe #122)
- Plotting/recipe MCP tools (done)
However, scitex.plt still contains utility modules that should live in figrecipe:
scitex/plt/
├── color/ # Color conversion, palettes, gradients
├── styles/ # Publication style presets
├── ax/ # Axis formatting utilities
├── utils/ # General plotting utilities
├── _subplots/ # Subplot management
├── io/ # Figure I/O
Proposed Migration
Phase 1: Color utilities
- Move
scitex.plt.color→figrecipe.color - Functions:
str2rgb,rgb2rgba,rgba2hex,gradiate_color_rgb, etc. - Update scitex to re-export from figrecipe
Phase 2: Style utilities
- Move
scitex.plt.styles→figrecipe.styles(extend existing) - Publication presets, journal-specific configs
Phase 3: Axis utilities
- Move
scitex.plt.ax→figrecipe.axes - Axis formatting, tick styling, label management
Phase 4: General utilities
- Move
scitex.plt.utils→figrecipe.utils - Move
scitex.plt.io→figrecipe.io
Phase 5: Cleanup
- Remove migrated code from scitex
- Update imports to use figrecipe
- Update documentation
Benefits
- Single source of truth for all plotting functionality
- Reduced code duplication
- Clearer separation: scitex = scientific workflow, figrecipe = plotting
Related
- feat(diagram): Delegate diagram functionality to figrecipe #122 (diagram delegation - completed)
- figrecipe repository: https://github.com/ywatanabe1989/figrecipe
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request