matplotlib scatter from dataframe code example
Example: scatter plot of a dataframe in python
>>> ax2 = df.plot.scatter(x='length',
... y='width',
... c='species',
... colormap='viridis')