From 3b0a0db92f731b6288e36afe9b2dab990db595dc Mon Sep 17 00:00:00 2001 From: Christine Chai Date: Sun, 6 Nov 2022 16:41:15 -0800 Subject: [PATCH] DOC moved legend to upper center --- examples/applications/plot_model_complexity_influence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/applications/plot_model_complexity_influence.py b/examples/applications/plot_model_complexity_influence.py index 60475e2c4302e..812539aa1ff46 100644 --- a/examples/applications/plot_model_complexity_influence.py +++ b/examples/applications/plot_model_complexity_influence.py @@ -266,7 +266,7 @@ def plot_influence(conf, mse_values, prediction_times, complexities): ax2.tick_params(axis="y", colors=line2.get_color()) plt.legend( - (line1, line2), ("prediction error", "prediction latency"), loc="upper right" + (line1, line2), ("prediction error", "prediction latency"), loc="upper center" ) plt.title(