mirror of
https://github.com/clearml/clearml
synced 2025-03-23 19:40:34 +00:00
Edit plot color in examples (#1385)
Some checks failed
CodeQL / Analyze (python) (push) Has been cancelled
Some checks failed
CodeQL / Analyze (python) (push) Has been cancelled
This commit is contained in:
parent
caddf25539
commit
6a6e7186e5
@ -121,7 +121,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"x = np.linspace(0, task_params['sin_max_value'], task_params['sin_steps'])\n",
|
"x = np.linspace(0, task_params['sin_max_value'], task_params['sin_steps'])\n",
|
||||||
"y = np.sin(x)\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.title('Sinus Dots')\n",
|
||||||
"plt.show()\n",
|
"plt.show()\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"x = np.linspace(0, task_params['sin_max_value'], task_params['sin_steps'])\n",
|
"x = np.linspace(0, task_params['sin_max_value'], task_params['sin_steps'])\n",
|
||||||
"y = np.sin(x)\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.title('Sinus Dots')\n",
|
||||||
"plt.show()\n",
|
"plt.show()\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
@ -118,7 +118,7 @@
|
|||||||
"# create another plot - with a name\n",
|
"# create another plot - with a name\n",
|
||||||
"x = np.linspace(0, 10, 30)\n",
|
"x = np.linspace(0, 10, 30)\n",
|
||||||
"y = np.sin(x)\n",
|
"y = np.sin(x)\n",
|
||||||
"plt.plot(x, y, 'o', color='black')\n",
|
"plt.plot(x, y, 'o', color='pink')\n",
|
||||||
"plt.show()"
|
"plt.show()"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -28,7 +28,7 @@ plt.show()
|
|||||||
# Create another plot - with a name
|
# Create another plot - with a name
|
||||||
x = np.linspace(0, 10, 30)
|
x = np.linspace(0, 10, 30)
|
||||||
y = np.sin(x)
|
y = np.sin(x)
|
||||||
plt.plot(x, y, 'o', color='black')
|
plt.plot(x, y, 'o', color='pink')
|
||||||
# Plot will be reported automatically
|
# Plot will be reported automatically
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user