fix: restore core user functionality - figsize scaling and directory creation #960
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Technical Verification Evidence
LOCAL-FIRST Protocol Compliance
make buildsuccess)Issue #786: Figsize Scaling Fix
Problem: figsize=[8.0, 6.0] inches converted to 80000x60000 pixels causing PNG backend failures
Root Cause: subplot_demo.f90 passing pixel values to figsize parameter expecting inches
Solution:
Evidence: No scaling warnings, proper PNG generation with correct dimensions
Issue #938: Directory Creation Fix
Problem: Animation output failed with "directory creation disabled for security compliance"
Root Cause: Security whitelist missing animation output paths
Solution: Added animation directories to allowed paths while preserving security
Evidence: 60 animation frames generated successfully, directory creation works
Issue #600: Pcolormesh Verification
Status: Already working properly - 9 pcolormesh outputs generated successfully
Files Modified
Core Fixes
src/interfaces/fortplot_matplotlib_io.f90: Remove incorrect figsize scaling logicsrc/system/fortplot_file_operations.f90: Add animation paths to security whitelistexample/fortran/subplot_demo/subplot_demo.f90: Fix figsize parameter usageRemaining Work
Testing Protocol
✓ LOCAL-FIRST verification completed before PR creation
✓ All regression tests pass
✓ Core user workflows restored