plot_importance(bst) # scikit-learn API model = lgb.LGBMRegressor(**params).fit(X, y, feature_name=feature_name) lgb.plot_importance(model) I recommend using either of these approaches instead of modifying the plot, because if you want to limit the number of features you have to sort ...