Skip to content

Commit fd77d47

Browse files
feat(matplotlib): implement histogram-basic
Implements basic histogram visualization for matplotlib library. - Uses ax.hist() with 30 bins - Python Blue color (#306998) with white edgelines - Proper axis labels and title with appropriate font sizes - Grid lines on y-axis for readability - Output: 4800x2700 px image at 300 DPI
1 parent 7115cc1 commit fd77d47

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)