python plt 2d scatter code example Example: scatter plot python df.plot('x_axis', 'y_axis', kind='scatter')