Edit plot color in examples (#1385)
Some checks failed
CodeQL / Analyze (python) (push) Has been cancelled

This commit is contained in:
pollfly 2025-03-13 09:50:41 +02:00 committed by GitHub
parent caddf25539
commit 6a6e7186e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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()"
]
},

View File

@ -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()