diff --git a/src/LinePlot/LinePlot.tsx b/src/LinePlot/LinePlot.tsx index 3ff490045..ca2d630de 100644 --- a/src/LinePlot/LinePlot.tsx +++ b/src/LinePlot/LinePlot.tsx @@ -78,7 +78,7 @@ const LinePlot = ({ autosize: true, margin: { b: 35, - l: 60, + l: 80, r: 10, t: 30 }, @@ -86,6 +86,7 @@ const LinePlot = ({ plot_bgcolor: "rgba(0,0,0,0)", xaxis: { color: theme.palette.mode === "light" ? "" : "white", + exponentformat: "E", gridcolor: theme.palette.mode === "light" ? "" : theme.palette.grey["500"], showgrid: false, @@ -99,6 +100,7 @@ const LinePlot = ({ }, yaxis: { color: theme.palette.mode === "light" ? "" : "white", + exponentformat: "E", gridcolor: theme.palette.mode === "light" ? "" : theme.palette.grey["500"], ticksuffix: " ", diff --git a/src/SurfacePlot/SurfacePlot.tsx b/src/SurfacePlot/SurfacePlot.tsx index 1cbc2bf3e..66a3e48c1 100644 --- a/src/SurfacePlot/SurfacePlot.tsx +++ b/src/SurfacePlot/SurfacePlot.tsx @@ -88,6 +88,7 @@ const SurfacePlot = ({ camera: { eye: { x: 2 } }, xaxis: { color: theme.palette.mode === "light" ? "" : "white", + exponentformat: "E", gridcolor: theme.palette.mode === "light" ? "" @@ -103,6 +104,7 @@ const SurfacePlot = ({ }, yaxis: { color: theme.palette.mode === "light" ? "" : "white", + exponentformat: "E", gridcolor: theme.palette.mode === "light" ? "" @@ -117,6 +119,7 @@ const SurfacePlot = ({ }, zaxis: { color: theme.palette.mode === "light" ? "" : "white", + exponentformat: "E", gridcolor: theme.palette.mode === "light" ? ""