update doc string for grid parameter (#2647)

* update doc string for grid parameter

* update doc string for grid parameter
This commit is contained in:
Jerry Dumblauskas 2017-11-29 13:22:46 -06:00 committed by Tianqi Chen
parent 878f307948
commit 5867c1b96d

View File

@ -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