plt.subplot(121)
plt.scatter(x, y, s=500, marker='s', edgecolor='black', linewidth='3',
    facecolor='green', hatch='|')
plt.subplot(122)
plt.scatter(x, y, s=500, marker='s', edgecolor='black', linewidth='0',
    facecolor='green', hatch='||||')
plt.show()
How to change marker border width and hatch width?