(value, precision=None)
| 21 | |
| 22 | |
| 23 | def _float2str(value, precision=None): |
| 24 | return ("{0:.{1}f}".format(value, precision) |
| 25 | if precision is not None and not isinstance(value, string_type) |
| 26 | else str(value)) |
| 27 | |
| 28 | |
| 29 | def plot_importance(booster, ax=None, height=0.2, |
no test coverage detected