plt.scatter form code example
Example: matplotlib scatter
# Import packages
import matplotlib.pyplot as plt
%matplotlib inline
# Create the plot
fig, ax = plt.subplots()
# Plot with scatter()
ax.scatter(x, y)
# Set x and y axes labels, legend, and title
ax.set_title("Title")
ax.set_xlabel("X_Label")
ax.set_ylabel("Y_Label")