From 3e353e6ef3059f450301bacd605d91ff423e303a Mon Sep 17 00:00:00 2001 From: keisuke-umezawa Date: Thu, 18 Jul 2024 16:14:04 +0900 Subject: [PATCH] Follow review comments --- tslib/react/src/components/PlotImportance.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tslib/react/src/components/PlotImportance.tsx b/tslib/react/src/components/PlotImportance.tsx index 9636c816..96807d2c 100644 --- a/tslib/react/src/components/PlotImportance.tsx +++ b/tslib/react/src/components/PlotImportance.tsx @@ -59,6 +59,10 @@ const plotParamImportancesBeta = ( bargroupgap: 0.1, uirevision: "true", template: mode === "dark" ? plotlyDarkTemplate : {}, + legend: { + x: 1.0, + y: 0.95, + }, } if (document.getElementById(plotDomId) === null) {