Skip to content

Commit

Permalink
carry over names
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Oct 18, 2024
1 parent 0d1f35a commit 4916e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/axis-secondary.R
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ AxisSecondary <- ggproto("AxisSecondary", NULL,
self$mono_test(scale)
breaks <- self$breaks
} else {
breaks <- scale$map(self$breaks)
breaks <- setNames(scale$map(self$breaks), names(self$breaks))
}

# Get scale's original range before transformation
Expand Down

0 comments on commit 4916e25

Please sign in to comment.