Skip to content

Commit

Permalink
New plots sometimes wrong way around, fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
operdeck committed Sep 27, 2023
1 parent f648ce6 commit ab02b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r/R/plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ plotBinningLift <- function(binning, useSmartLabels = T) # TODO consider adding
setorder(binning, -BinIndex)

if (useSmartLabels) {
plt <- ggplot(binning, aes(Lift-1, factor(BinIndex)))
plt <- ggplot(binning, aes(Lift-1, factor(BinIndex, levels = binning$BinIndex)))
} else {
plt <- ggplot(binning, aes(Lift-1, BinSymbol))
}
Expand Down

0 comments on commit ab02b16

Please sign in to comment.