Update script.js

This commit is contained in:
Logan Hunt 2022-12-21 00:43:30 -07:00 committed by GitHub
parent e5378336d8
commit 15459eecb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,6 @@ const loop = () => {
(a, label) => Math.max(ctx.measureText(label).width, a),
-Infinity
);
console.log(state.maxYLabelWidth);
state.gridBoxWidth =
state.width - state.maxYLabelWidth - state.yLabelPadding;