Matplotlib, one of the powerful Python graphics library, has many way to add colors to a scatter plot and specify legend. Earlier we saw a tutorial, how to add colors to data points in a scatter plot made with Matplotlib's scatter() function. In this tutorial, we will learn how … [Read more...] about How to Add Legend to Scatterplot Colored by a Variable with Matplotlib in Python