I am using method on https://machinelearningmastery.com/visualize-gradient-boosting-decision-trees-xgboost-python/ to plot a XGBoost Decision Tree
from numpy
To add to Serk's answer, you can also resize the figure before displaying it:
# ... plot_tree(model) fig = plt.gcf() fig.set_size_inches(18.5, 10.5) plt.show()