feat: add bar-basic implementation (9 libraries)#487
Merged
MarkusNeusinger merged 10 commits intomainfrom Dec 7, 2025
Merged
Conversation
## Summary Implements `bar-basic` for **highcharts** library. **Parent Issue:** #202 **Sub-Issue:** #250 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/highcharts/bar/bar-basic/default.py` ## Changes - Rewrites implementation to follow KISS principles (simple sequential script) - Uses 4800x2700 dimensions per style guide - Uses Python Blue (#306998) from color palette - Uses element-specific screenshot for exact dimensions - Removes function-based structure, type hints, and docstrings per plot-generator.md guidelines Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **plotly** library. **Parent Issue:** #202 **Sub-Issue:** #221 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/plotly/bar/bar-basic/default.py` ## Changes - Simplified from function-based to KISS style (simple sequential script) - Uses correct color from style guide (#306998 Python Blue) - Outputs correct dimensions (4800 × 2700 px) - Uses `plotly_white` template for clean appearance Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **altair** library. **Parent Issue:** #202 **Sub-Issue:** #230 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/altair/bar/bar-basic/default.py` ## Changes - Simplified to KISS style (no functions, classes, or type hints) - Uses Python Blue (#306998) as bar color - Proper dimensions (1600 × 900 with scale_factor=3) - Clear axis labels with appropriate font sizes Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **matplotlib** library. **Parent Issue:** #202 **Sub-Issue:** #213 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/matplotlib/bar/bar-basic/default.py` ## Details - Simple vertical bar chart following KISS style guide - Uses Python Blue (#306998) color from style guide - Properly sized for 4800 × 2700 px output (figsize=(16, 9) with dpi=300) - Includes meaningful axis labels, title, and subtle y-axis grid Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **seaborn** library. **Parent Issue:** #202 **Sub-Issue:** #216 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/seaborn/barplot/bar-basic/default.py` ## Changes - Simplified implementation following KISS style from plot-generator.md - Sequential script without functions, type hints, or docstrings - Uses seaborn `barplot` with `hue` parameter for seaborn 0.14+ API compatibility - Follows default-style-guide.md color palette (#306998, #FFD43B, #DC2626, #059669, #8B5CF6) - 16:9 aspect ratio figure (16, 9) for proper output dimensions - Y-axis grid for visual clarity Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **pygal** library. **Parent Issue:** #202 **Sub-Issue:** #244 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/pygal/bar/bar-basic/default.py` ## Changes - Rewrote implementation following KISS style guide - Simple sequential script: imports → data → plot → save - Uses pyplots color palette (#306998 Python Blue) - 4800×2700px output with properly scaled fonts - Clean white background with y-guides - No functions, no classes, no if __name__ block Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **letsplot** library. **Parent Issue:** #202 **Sub-Issue:** #257 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/letsplot/bar/bar-basic/default.py` ## Details - Uses `geom_bar(stat='identity')` for bar chart visualization - Follows PyPlots default style guide (4800 × 2700 px output at scale=3) - Uses Python Blue (#306998) as primary color - Includes theme_minimal() with customized font sizes for readability Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **plotnine** library. **Parent Issue:** #202 **Sub-Issue:** #237 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/plotnine/bar/bar-basic/default.py` ## Changes - Simplified implementation following KISS principles (no functions, just sequential code) - Uses Python Blue (#306998) from style guide - Correct figure size (16x9 at 300dpi = 4800x2700px) - Clean axis labels and title - Subtle horizontal grid with no vertical grid lines - Categorical ordering preserved to maintain x-axis order Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
## Summary Implements `bar-basic` for **bokeh** library. **Parent Issue:** #202 **Sub-Issue:** #225 **Base Branch:** `plot/bar-basic` **Attempt:** 1/3 ## Implementation - `plots/bokeh/vbar/bar-basic/default.py` ## Changes - Simplified to KISS-style sequential script (no functions/classes) - 4800×2700px output with proper typography sizing (20pt labels, 16pt ticks) - Uses ColumnDataSource and vbar glyph method per library guidelines - Python Blue (#306998) color from style guide - Subtle grid styling with y-axis grid only Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Markus Neusinger <2921697+MarkusNeusinger@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Adds
bar-basicplot implementation.Libraries
Links
specs/bar-basic.md🤖 Auto-generated by pyplots CI