Skip to content

Commit b2abf08

Browse files
committed
Remove console debug messages
1 parent fced9ce commit b2abf08

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/plots/cartesian/axes.js

-3
Original file line numberDiff line numberDiff line change
@@ -953,16 +953,13 @@ axes.calcTicks = function calcTicks(ax, opts) {
953953
// Mapping proportions to array:
954954
var valsProp, fractionalVals;
955955
var width = maxRange - minRange;
956-
console.log("minRange = " + minRange + " maxRange = " + maxRange)
957956
var offset = !axrev ? minRange : maxRange;
958957
if (axrev) width *= -1;
959958
if (mockAx.tickmode === 'proportional') {
960959
valsProp = major ? Lib.nestedProperty(ax, "tickvals") : Lib.nestedProperty(ax.minor, "tickvals");
961960
fractionalVals = valsProp.get();
962961
var mappedVals = Lib.simpleMap(fractionalVals, function(fraction, offset, width, type) {
963962
var mapped = offset + (width*fraction);
964-
console.log(mapped)
965-
console.log(type)
966963
return (type === "log") ? Math.pow(10, mapped) : mapped
967964
}, offset, width, type);
968965
valsProp.set(mappedVals);

0 commit comments

Comments
 (0)