From 0b52c3d32fcfd9225300f3ac8ea3a6f6baa679e3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 11 Dec 2025 22:54:28 +0000 Subject: [PATCH 1/3] feat(matplotlib): implement scatter-basic --- .../implementations/matplotlib.py | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 plots/scatter-basic/implementations/matplotlib.py diff --git a/plots/scatter-basic/implementations/matplotlib.py b/plots/scatter-basic/implementations/matplotlib.py new file mode 100644 index 0000000000..a53423c55f --- /dev/null +++ b/plots/scatter-basic/implementations/matplotlib.py @@ -0,0 +1,27 @@ +""" +scatter-basic: Basic Scatter Plot +Library: matplotlib +""" + +import matplotlib.pyplot as plt +import numpy as np + + +# Data - correlated data with noise +np.random.seed(42) +x = np.random.randn(150) * 2 + 10 +y = x * 0.8 + np.random.randn(150) * 1.5 + +# Create plot +fig, ax = plt.subplots(figsize=(16, 9)) +ax.scatter(x, y, alpha=0.7, s=60, color="#306998", edgecolors="white", linewidths=0.5) + +# Labels and styling +ax.set_xlabel("X Value", fontsize=20) +ax.set_ylabel("Y Value", fontsize=20) +ax.set_title("Basic Scatter Plot", fontsize=20) +ax.tick_params(axis="both", labelsize=16) +ax.grid(True, alpha=0.3, linestyle="--") + +plt.tight_layout() +plt.savefig("plot.png", dpi=300, bbox_inches="tight") From a5b47f3a0022af2eaff9b9c5042b2d9700997e54 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 11 Dec 2025 22:54:42 +0000 Subject: [PATCH 2/3] chore(matplotlib): add metadata for scatter-basic --- plots/scatter-basic/metadata/matplotlib.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plots/scatter-basic/metadata/matplotlib.yaml diff --git a/plots/scatter-basic/metadata/matplotlib.yaml b/plots/scatter-basic/metadata/matplotlib.yaml new file mode 100644 index 0000000000..08a4c85be0 --- /dev/null +++ b/plots/scatter-basic/metadata/matplotlib.yaml @@ -0,0 +1,18 @@ +# Per-library metadata for matplotlib implementation of scatter-basic +# Auto-generated by impl-generate.yml + +library: matplotlib +specification_id: scatter-basic + +preview_url: https://storage.googleapis.com/pyplots-images/plots/scatter-basic/matplotlib/plot.png +preview_html: null + +current: + version: 0 + generated_at: 2025-12-11T22:54:42Z + generated_by: claude-opus-4-5-20251101 + workflow_run: 20150014768 + issue: 611 + quality_score: null # Updated after review + +history: [] From 2fcfbca1dba8edfcb05bb85a6a5aca13e16cf7e1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 11 Dec 2025 22:56:44 +0000 Subject: [PATCH 3/3] chore(matplotlib): set quality score 92 for scatter-basic --- plots/scatter-basic/metadata/matplotlib.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plots/scatter-basic/metadata/matplotlib.yaml b/plots/scatter-basic/metadata/matplotlib.yaml index 08a4c85be0..bc627b8814 100644 --- a/plots/scatter-basic/metadata/matplotlib.yaml +++ b/plots/scatter-basic/metadata/matplotlib.yaml @@ -13,6 +13,6 @@ current: generated_by: claude-opus-4-5-20251101 workflow_run: 20150014768 issue: 611 - quality_score: null # Updated after review + quality_score: 92 history: []