Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
moontrip committed Nov 1, 2023
1 parent 54e106d commit 24355e3
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,14 +486,8 @@ function VolcanoPlotViz(props: VisualizationProps<Options>) {
max: rawDataMinMaxValues.x.max,
},
dependentAxisRange: {
min: Math.min(
-Math.log10(rawDataMinMaxValues.y.min),
-Math.log10(rawDataMinMaxValues.y.max)
),
max: Math.max(
-Math.log10(rawDataMinMaxValues.y.min),
-Math.log10(rawDataMinMaxValues.y.max)
),
min: -Math.log10(rawDataMinMaxValues.y.max),
max: -Math.log10(rawDataMinMaxValues.y.min),
},
},
vizConfig,
Expand Down

0 comments on commit 24355e3

Please sign in to comment.