matplotlib plot scatter graph code example Example: scatter plot python df.plot('x_axis', 'y_axis', kind='scatter')