Skip to content

Commit

Permalink
Update src/plot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil authored Sep 9, 2023
1 parent 43cfb98 commit 72ed1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,8 @@ function inheritScaleLabels(newScales, scales) {
}

// This differs from the other outerDimensions in that it accounts for rounding
// and outer padding in the facet scales; we want the frame to align exactly with
// the actual range, not the desired range.
// and outer padding in the facet scales; we want the frame to align exactly
// with the actual range, not the desired range.
function actualDimensions({fx, fy}, dimensions) {
const {marginTop, marginRight, marginBottom, marginLeft, width, height} = outerDimensions(dimensions);
const fxr = fx && outerRange(fx);
Expand Down

0 comments on commit 72ed1be

Please sign in to comment.