import numpy as np x = np.random.rand(50) y = np.random.rand(50) plt.scatter(x, y, color='green', alpha=0.5) plt.title('Scatter Plot Example') plt.xlabel('X-axis') plt.ylabel('Y-axis') plt.show()