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) {