This is a basic scatterplot example made with the plot function of Matplotlib.
Once you understood how this works, see plot #131 for more customization.
# libraries import matplotlib.pyplot as plt import numpy as np import pandas as pd # Create a dataset: df=pd.DataFrame({'x': range(1,101), 'y': np.random.randn(100)*15+range(1,101) }) # plot plt.plot( 'x', 'y', data=df, linestyle='none', marker='o') plt.show()