From 9c412bd3c0abc86d53a407f38e08aa8324d1c972 Mon Sep 17 00:00:00 2001 From: Kavya Agrawal Date: Sat, 3 Jan 2026 15:28:30 +0530 Subject: [PATCH 1/5] DOC: improve variable naming for clarity in simple line plot example Use more descriptive variable names to improve readability without changing the plot output. --- galleries/examples/lines_bars_and_markers/simple_plot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/galleries/examples/lines_bars_and_markers/simple_plot.py b/galleries/examples/lines_bars_and_markers/simple_plot.py index 8f4324b0fc8d..cbe1f3fdddb2 100644 --- a/galleries/examples/lines_bars_and_markers/simple_plot.py +++ b/galleries/examples/lines_bars_and_markers/simple_plot.py @@ -9,12 +9,12 @@ import matplotlib.pyplot as plt import numpy as np -# Data for plotting -t = np.arange(0.0, 2.0, 0.01) -s = 1 + np.sin(2 * np.pi * t) +# Data for plotting: time values and corresponding signal +time = np.arange(0.0, 2.0, 0.01) +signal = 1 + np.sin(2 * np.pi * time) fig, ax = plt.subplots() -ax.plot(t, s) +ax.plot(time, signal) ax.set(xlabel='time (s)', ylabel='voltage (mV)', title='About as simple as it gets, folks') From 251d0c1edd2ab0f1320fbf01841aa6e0a02b7bfb Mon Sep 17 00:00:00 2001 From: Kavya Agrawal Date: Sat, 3 Jan 2026 15:56:27 +0530 Subject: [PATCH 2/5] DOC: update installation quick-start to link canonical install guide --- doc/users/getting_started/index.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/users/getting_started/index.rst b/doc/users/getting_started/index.rst index dfbbd615b5cd..71dfcf9ba3ab 100644 --- a/doc/users/getting_started/index.rst +++ b/doc/users/getting_started/index.rst @@ -4,7 +4,10 @@ Getting started Installation quick-start ------------------------ -.. include:: /install/quick_install.inc.rst +For up-to-date installation instructions, please refer to the official +Matplotlib installation guide: + +https://matplotlib.org/stable/#install Draw a first plot ----------------- From 839f959003238654f85176d9cc5a45775d70c013 Mon Sep 17 00:00:00 2001 From: Kavya Agrawal Date: Sat, 3 Jan 2026 16:04:25 +0530 Subject: [PATCH 3/5] DOC: revert installation quick-start change (will be separate PR) --- doc/users/getting_started/index.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/users/getting_started/index.rst b/doc/users/getting_started/index.rst index 71dfcf9ba3ab..dfbbd615b5cd 100644 --- a/doc/users/getting_started/index.rst +++ b/doc/users/getting_started/index.rst @@ -4,10 +4,7 @@ Getting started Installation quick-start ------------------------ -For up-to-date installation instructions, please refer to the official -Matplotlib installation guide: - -https://matplotlib.org/stable/#install +.. include:: /install/quick_install.inc.rst Draw a first plot ----------------- From 90bb9df7f332f4cb4be53d8d4866bf3061297765 Mon Sep 17 00:00:00 2001 From: Kavya Agrawal Date: Sat, 3 Jan 2026 16:06:24 +0530 Subject: [PATCH 4/5] DOC: update installation quick-start to link canonical install guide --- doc/users/getting_started/index.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/users/getting_started/index.rst b/doc/users/getting_started/index.rst index dfbbd615b5cd..71dfcf9ba3ab 100644 --- a/doc/users/getting_started/index.rst +++ b/doc/users/getting_started/index.rst @@ -4,7 +4,10 @@ Getting started Installation quick-start ------------------------ -.. include:: /install/quick_install.inc.rst +For up-to-date installation instructions, please refer to the official +Matplotlib installation guide: + +https://matplotlib.org/stable/#install Draw a first plot ----------------- From cd048f62c3c9e171aad223f6a5f4bb3b490bd98b Mon Sep 17 00:00:00 2001 From: Kavya Agrawal Date: Sat, 3 Jan 2026 16:11:13 +0530 Subject: [PATCH 5/5] DOC: update installation quick-start to link canonical install guide