df.plot() colour based on colun value code example Example: how to get label for points from a column in dataframe for scatter plot in python groups = data.groupby("Category")