Skip to content

Commit

Permalink
update doc string for grid parameter (dmlc#2647)
Browse files Browse the repository at this point in the history
* update doc string for grid parameter

* update doc string for grid parameter
  • Loading branch information
jerry-dumblauskas authored and tqchen committed Nov 29, 2017
1 parent 878f307 commit 5867c1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python-package/xgboost/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def plot_importance(booster, ax=None, height=0.2,
Booster or XGBModel instance, or dict taken by Booster.get_fscore()
ax : matplotlib Axes, default None
Target axes instance. If None, new figure and axes will be created.
grid : bool, Turn the axes grids on or off. Default is True (On).
importance_type : str, default "weight"
How the importance is calculated: either "weight", "gain", or "cover"
"weight" is the number of times a feature appears in a tree
Expand Down

0 comments on commit 5867c1b

Please sign in to comment.