How can I highlight a dot in a cloud of dots with Matplotlib?
问题 I'm using Matplotlib and my goal is highlighting some points in a scatterplot. I used the following code: $colors = {'true':'red', 'false':'blue'} plt.scatter(data[T[j]], data[T[i]], c=data['upgrade'].apply(lambda x: colors[x]) $ This code let my dots being red if the condition is "true", else blue. I haven't any problem until I had the following example: 20k dots and just 1 is TRUE. The plot that I obtained can't display my only point, because I have a cloud full of blue dots (2k) and just