Skip to content

Commit

Permalink
[Platform]: Set plot-wide fontSize to affect crosshair for DepmapPlot(#…
Browse files Browse the repository at this point in the history
  • Loading branch information
louwenjjr authored Dec 12, 2024
1 parent 79db679 commit 5f575e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/sections/src/target/DepMap/DepmapPlot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function DepmapPlot({ data, width }) {
marginLeft: 200,
style: {
background: "transparent",
fontSize: "12px",
},
x: {
type: "symlog",
Expand Down Expand Up @@ -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" }),
Expand Down

0 comments on commit 5f575e6

Please sign in to comment.