2808 explained code solutions for 75 technologies


python-matplotlibHow to add outline (edge) to marker


import matplotlib.pyplot as plt

plt.scatter(2,3,s=900,color='cyan',edgecolors='black')

plt.show()ctrl + c
import matplotlib.pyplot as plt

loads Matplotlib module to use plotting capabilities

.scatter(

plots a single point

2,3

x and y coordinates

edgecolors

set border color of a point

.show()

render chart in a separate window