+ 2
matplotlib
plt.scatter(x, y, edgecolors='k') What does 'k' stands for? Black?
7 ответов
+ 4
'k' for black
'b' for blue
'g' for green
'r' for red
'c' for cyan
'm' for magenta
'y' for yellow
'w' for white
+ 3
Think you are right. 'b' is already used for blue.
I found it here, you have to scroll down a bit:
https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/matplotlib_markers.asp
+ 1
The way I (try to) remember this is that "b" was already taken for blue, so they took the last letter instead.
+ 1
IzaiaH KaY Wow thank you!
+ 1
Paul Thank you!
0
Lol… exactly what I was wondering why not “b”!!!! So tricky!
- 1
Hii