Statistics, Machine Learning, Data Science, Financial Planning, Python.
plt.legend(title='Factor 2') plt.show() The first two plots visualize the main effects of factor1 and factor2, respectively. They show the mean of the dependent variable y for each level of the factors. The third plot is the interaction effect plot, which shows how the combination of factor1 and