Skip to content

Commit

Permalink
Set plot wide fontSize so crosshair is also adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
louwenjjr committed Nov 4, 2024
1 parent eb569b4 commit f282702
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 f282702

Please sign in to comment.