9951 explained code solutions for 126 technologies


python-matplotlibHow to change marker edge width


import matplotlib.pyplot as plt

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

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

linewidths

set border width for the point

.show()

render chart in a separate window