Is there a way to 'declump' the following tree on Jupyter Notebook? Its a simple decision tree but I do not know what is making it look collapsed. Here are the relevant code snippets and the tree itself.
%matplotlib inline
%config InlineBackend.figure_format = 'retina'
from matplotlib import pyplot as plt
plt.rcParams['figure.figsize'] = (10, 8)
import numpy as np
import pandas as pd
from sklearn.preprocessing import LabelEncoder
import collections
from sklearn.model_selection import GridSearchCV, cross_val_score
from sklearn.tree import DecisionTreeClassifier, plot_tree
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import accuracy_score
#some more code
# Some feature values are present in train and absent in test and vice-versa.
y = df_train['Should_Vacation_there']
df_train, df_test = intersect_features(train=df_train, test=df_test)
df_train
#training a decision tree
dt = DecisionTreeClassifier(criterion='entropy', random_state=17)
dt.fit(df_train, y);
#displaying the tree
plot_tree(dt, feature_names=df_train.columns, filled=True,
class_names=["Should go there", "Shouldn't go there"]);




figsizeparameter inmatplotlib.pyplot.figureto increase the size of the axes. Something likeplt.figure(figsize=(10, 5)).