Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed Nov 4, 2020
1 parent 89f317c commit cd7cf5e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/padScale.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import getPadFunctions from '../helpers/getPadFunctions.js';

export default function padScale (scale, padding) {
console.log('padding', padding);

if (typeof scale.range !== 'function') {
throw new Error('Scale method `range` must be a function');
}
Expand All @@ -22,7 +20,7 @@ export default function padScale (scale, padding) {
return scale.domain();
}

const { lift, ground, scaleType } = getPadFunctions(scale);
const { lift, ground } = getPadFunctions(scale);

const domain = scale.domain().map(lift);

Expand Down

0 comments on commit cd7cf5e

Please sign in to comment.