Hi, I plot a bivariate fit and fit a linear line for each "run". The colors on the row legend match the colors of the linear fit lines (see pic 1)
When I apply a local data filter and change the "Date" and therefore the "Run" may change, the colors on the row legend do now match with the colors of the linear fit lines. See pic 2, the Run 14 is red dots but the linear fit line is green.
Is there any way that the row legend and linear fit line can always be the same? I have attached the data table and script.
picture 1: colors in the row legend match with the colors in the linear fit line.

picture 2: colors in the row legend do not match with the colors in the linear fit line.
