Releases: dougollerenshaw/figrid
Releases · dougollerenshaw/figrid
v0.1.7: Test Suite, Code Quality, and Shared Axes Bugfix
Release v0.1.7
Major Infrastructure Improvements
- Added comprehensive test suite using pytest
- Test coverage for all core functionality
- Tests for example figures
- Integration with GitHub Actions for automated testing
- Implemented automated code quality checks
- Added Black code formatting
- Added Flake8 linting
- Set up pre-commit hooks for consistent code style
- Added CI/CD pipeline via GitHub Actions
- Automated testing across Python versions 3.8-3.13
- Automated linting and formatting checks
- Test coverage reporting
Bug Fixes
- Fixed critical bug in
place_axes_on_grid
whereget_xtick
was incorrectly used instead ofget_xticklabels()
- Corrected tick label visibility handling for shared axes configurations
Documentation & Code Quality
- Added clarifying comments in source code explaining tick label visibility logic
- Enhanced README with development and testing instructions
- Updated
.gitignore
with comprehensive Python patterns - Improved code organization and readability through consistent formatting
Technical Details
The main fix addresses a typo in the shared axes implementation that was causing an AttributeError. The fix ensures:
- For shared x-axes, only bottom subplot shows tick labels
- For shared y-axes, only leftmost subplot shows tick labels
- Other subplots maintain ticks but hide labels for clean visualization
Breaking Changes
None - this is intended to be a backward-compatible release
Development Workflow
The package now includes a complete development environment setup:
pip install -e ".[dev]"
This installs all testing and development dependencies.