From 6a6e7186e5b8ccfd56b7501907237e05b862797c Mon Sep 17 00:00:00 2001 From: pollfly <75068813+pollfly@users.noreply.github.com> Date: Thu, 13 Mar 2025 09:50:41 +0200 Subject: [PATCH] Edit plot color in examples (#1385) --- examples/frameworks/keras/jupyter.ipynb | 2 +- examples/frameworks/keras/legacy/jupyter.ipynb | 2 +- examples/frameworks/matplotlib/jupyter_matplotlib_example.ipynb | 2 +- examples/frameworks/matplotlib/matplotlib_example.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/frameworks/keras/jupyter.ipynb b/examples/frameworks/keras/jupyter.ipynb index 6724049a..b12f52ce 100644 --- a/examples/frameworks/keras/jupyter.ipynb +++ b/examples/frameworks/keras/jupyter.ipynb @@ -121,7 +121,7 @@ "\n", "x = np.linspace(0, task_params['sin_max_value'], task_params['sin_steps'])\n", "y = np.sin(x)\n", - "plt.plot(x, y, 'o', color='black')\n", + "plt.plot(x, y, 'o', color='pink')\n", "plt.title('Sinus Dots')\n", "plt.show()\n", "\n", diff --git a/examples/frameworks/keras/legacy/jupyter.ipynb b/examples/frameworks/keras/legacy/jupyter.ipynb index b8722d6e..4391a4a2 100644 --- a/examples/frameworks/keras/legacy/jupyter.ipynb +++ b/examples/frameworks/keras/legacy/jupyter.ipynb @@ -127,7 +127,7 @@ "\n", "x = np.linspace(0, task_params['sin_max_value'], task_params['sin_steps'])\n", "y = np.sin(x)\n", - "plt.plot(x, y, 'o', color='black')\n", + "plt.plot(x, y, 'o', color='pink')\n", "plt.title('Sinus Dots')\n", "plt.show()\n", "\n", diff --git a/examples/frameworks/matplotlib/jupyter_matplotlib_example.ipynb b/examples/frameworks/matplotlib/jupyter_matplotlib_example.ipynb index 09ddfcd2..78388aa7 100644 --- a/examples/frameworks/matplotlib/jupyter_matplotlib_example.ipynb +++ b/examples/frameworks/matplotlib/jupyter_matplotlib_example.ipynb @@ -118,7 +118,7 @@ "# create another plot - with a name\n", "x = np.linspace(0, 10, 30)\n", "y = np.sin(x)\n", - "plt.plot(x, y, 'o', color='black')\n", + "plt.plot(x, y, 'o', color='pink')\n", "plt.show()" ] }, diff --git a/examples/frameworks/matplotlib/matplotlib_example.py b/examples/frameworks/matplotlib/matplotlib_example.py index ebc6cedb..3f741f2e 100644 --- a/examples/frameworks/matplotlib/matplotlib_example.py +++ b/examples/frameworks/matplotlib/matplotlib_example.py @@ -28,7 +28,7 @@ plt.show() # Create another plot - with a name x = np.linspace(0, 10, 30) y = np.sin(x) -plt.plot(x, y, 'o', color='black') +plt.plot(x, y, 'o', color='pink') # Plot will be reported automatically plt.show()