I\'ve been doing some linear regression and want to plot the markers (original data) and the lines (regression) on the same line in the legend. For simplicity, here\'s a fak
You just need to use legend a bit more directly. See Matplotlib - How to make the marker face color transparent without making the line transparent and user guide.