Sklearn plot_tree plot is too small
I think the setting you are looking for is fontsize. You have to balance it with max_depth and figsize to get a readable plot. Here is an example from sklearn import tree from sklearn.datasets import load_iris import matplotlib.pyplot as plt # load data X, y = load_iris(return_X_y=True) # create and train model clf = tree.DecisionTreeClassifier(max_depth=4) … Read more