From 5f575e6f161f86f51bb046099fafc54d84a209e3 Mon Sep 17 00:00:00 2001 From: Joris Louwen <62542407+louwenjjr@users.noreply.github.com> Date: Fri, 13 Dec 2024 00:48:16 +0100 Subject: [PATCH] [Platform]: Set plot-wide fontSize to affect crosshair for DepmapPlot(#518) --- packages/sections/src/target/DepMap/DepmapPlot.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/sections/src/target/DepMap/DepmapPlot.jsx b/packages/sections/src/target/DepMap/DepmapPlot.jsx index 42eb1d1f8..8e2b78e75 100644 --- a/packages/sections/src/target/DepMap/DepmapPlot.jsx +++ b/packages/sections/src/target/DepMap/DepmapPlot.jsx @@ -67,6 +67,7 @@ function DepmapPlot({ data, width }) { marginLeft: 200, style: { background: "transparent", + fontSize: "12px", }, x: { type: "symlog", @@ -129,11 +130,9 @@ function DepmapPlot({ data, width }) { fillOpacity: 0.5, }), Plot.axisY({ - fontSize: 12, label: "Tissue name", }), Plot.axisX({ - fontSize: 12, label: "Gene Effect", }), Plot.crosshair(data, { x: "geneEffect", y: "tissueName" }),