matplotlib set color list code example
Example 1: color plt
matplotlib. colors
b : blue.
g : green.
r : red.
c : cyan.
m : magenta.
y : yellow.
k : black.
w : white.
Example 2: add colorbar matplotlib
import matplotlib.pyplot as plt
plt.figure()
m = create_map()
plt.scatter(*positions[::-1],c=count_vec)
plt.colorbar()
plt.show()