Skip to content

Commit

Permalink
fixes axis scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
christophM committed Feb 17, 2018
1 parent 1e866f7 commit 1b84567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/feature.imp.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Importance = R6::R6Class('Importance',
ggplot(res, aes(y = ..feature, x = importance)) + geom_point()+
geom_segment(aes(y = ..feature, yend = ..feature, x=1, xend = importance)) +
scale_x_continuous("Feature Importance") +
scale_y_continuous("Feature")
scale_y_discrete("Feature")
},
set.loss = function(loss){
self$loss = loss
Expand Down

0 comments on commit 1b84567

Please sign in to comment.