Skip to content

Commit ed4be4d

Browse files
feat(matplotlib): implement histogram-basic (#499)
## Summary Implements `histogram-basic` for **matplotlib** library. **Parent Issue:** #206 **Sub-Issue:** #490 **Base Branch:** `plot/histogram-basic` **Attempt:** 1/3 ## Implementation - `plots/matplotlib/hist/histogram-basic/default.py` ## Details - Uses `ax.hist()` with 30 bins for distribution visualization - Python Blue color (#306998) with white edge lines for visual clarity - Proper axis labels (Value, Frequency) and title with 20pt font size - Y-axis grid lines (alpha=0.3) for readability - Output: ~4800x2700 px image at 300 DPI with tight bounding box Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
1 parent 7115cc1 commit ed4be4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plots/matplotlib/hist/histogram-basic/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
ax.grid(True, alpha=0.3, axis="y")
2525

2626
plt.tight_layout()
27-
plt.savefig("plot.png", dpi=300)
27+
plt.savefig("plot.png", dpi=300, bbox_inches="tight")

0 commit comments

Comments
 (0)