Skip to content

Commit

Permalink
fix typo in a comment (#1852)
Browse files Browse the repository at this point in the history
* fix typo in a comment
  • Loading branch information
Fil authored Sep 9, 2023
1 parent 30d6c90 commit 5208841
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 fact 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 5208841

Please sign in to comment.