Commit f2fe06f
* Complete error bar rendering implementation
- Fix coordinate transformation function calls using correct signatures
- Implement proper error bar drawing with caps for PNG/PDF backends
- Support symmetric and asymmetric error bars in both X and Y directions
- Add comprehensive customization options (capsize, linewidth, colors)
- Fix animation module error bar rendering to avoid recursion
- All 7 error bar tests passing with full visual verification
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: Add validation for conflicting error bar parameters
- Add warning when both symmetric and asymmetric X error bars are provided
- Add warning when both symmetric and asymmetric Y error bars are provided
- Clarify that asymmetric values take precedence over symmetric ones
- Improve user feedback for conflicting parameter usage
This addresses the parameter conflict validation suggestion from PR review.
* fix: correct dependency name in fmp example from fortplotlib to fortplot
Resolves CRITICAL test failure in test_system_fpm_example where dependency
name mismatch caused build failures. FMP expects dependency named 'fortplot'
to match the module name, not 'fortplotlib' which is the repository name.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: update AGENTS.md with workflow clarifications
* fix: update CMake configuration to use fortplot naming (addresses #64)
- Replace fortplotlib with fortplot in root CMakeLists.txt
- Update cmake example to use correct target naming
- Fix repository URL in cmake example
- Ensures CI builds pass with consistent naming
* fix: update CI workflow to use fortplot executable name
- Update .github/workflows/ci.yml to run ./fortplot_test instead of ./fortplotlib_test
- Completes the naming consistency fix across build systems
* docs: Add comprehensive error bar documentation and examples
- Add error bars to README.md feature list with usage example
- Create detailed README_errorbar.md with complete API documentation
- Document all error bar types: symmetric, asymmetric, X/Y, combined
- Include customization options, backend support, and scientific usage patterns
- Add performance notes and common pitfalls section
- Update feature list to reflect implemented error bar functionality
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: expose errorbar functionality in public API surface
- Add errorbar() and add_errorbar() to public interface in fortplot.f90
- Ensures users can access error bar functionality through standard 'use fortplot' import
- Fixes critical architectural inconsistency where feature was implemented but not accessible
- Maintains API consistency with other plotting functions (plot, contour, pcolormesh)
- Includes comprehensive parameter support (symmetric/asymmetric errors, customization)
This resolves the gap between implementation and public interface, ensuring proper
architectural consistency following the existing pattern of pyplot-style functions.
* test: Add comprehensive error bar testing programs
- test_api_usability.f90: API usability validation tests
- test_errorbar_comprehensive.f90: Full functionality test suite
- test_errorbar_edge_cases.f90: Edge case and error handling tests
* fix: Break long import line to meet 88 char limit
- Split fortplot_figure_core import to multiple lines
- Fixes CI compilation failure with -Werror=line-truncation
* fix: correct output paths in errorbar example
Remove plots/ subdirectory from save paths to avoid directory creation errors
* chore: remove obsolete CMakeLists.txt file
This CMakeLists.txt file is no longer needed as the project
uses FPM (Fortran Package Manager) for build management.
* feat: integrate error bar support with main branch
Add error bar functionality to new main branch architecture:
- Add PLOT_TYPE_ERRORBAR constant with proper sequencing
- Add error bar data fields to plot_data_t type
- Add errorbar procedure to figure_t interface
- Implement basic errorbar subroutine for API compatibility
- Export error bar types in figure wrapper module
Note: Full rendering implementation needed in follow-up PR.
Basic API structure is complete and will compile once
render integration is added.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent d3498e8 commit f2fe06f
File tree
12 files changed
+1140
-113
lines changed- app
- example/fortran
- src
- test
12 files changed
+1140
-113
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
81 | 93 | | |
82 | 94 | | |
83 | 95 | | |
| |||
163 | 175 | | |
164 | 176 | | |
165 | 177 | | |
| 178 | + | |
166 | 179 | | |
167 | 180 | | |
168 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
0 commit comments