Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 380fa8c + 404979e commit 5d6d457Copy full SHA for 5d6d457
draftlogs/7002_fix.md
@@ -0,0 +1 @@
1
+ - Fix isosurface maximum value calculation when `isomax` is set to null [[#7002](https://github.com/plotly/plotly.js/pull/7002)]
src/traces/isosurface/calc.js
@@ -35,7 +35,7 @@ module.exports = function calc(gd, trace) {
35
trace._minValues = min;
36
trace._maxValues = max;
37
trace._vMin = (trace.isomin === undefined || trace.isomin === null) ? min : trace.isomin;
38
- trace._vMax = (trace.isomax === undefined || trace.isomin === null) ? max : trace.isomax;
+ trace._vMax = (trace.isomax === undefined || trace.isomax === null) ? max : trace.isomax;
39
40
colorscaleCalc(gd, trace, {
41
vals: [trace._vMin, trace._vMax],
0 commit comments