How to use plot_tree in decision tree classifier

Ive read through multiple sites and I dont understand how to make a plot_tree for decision tree classifier. I've gotten a variety of errors. often times it will run infinitely. I've done a number of other processes on the data using sklearn so I believe its set up properly.

x_train, x_test, y_train, y_test=train_test_split(x_data,y_data, test_size=0.10)
from sklearn.tree import plot_tree
from sklearn import tree
DTC.fit(x_train,y_train)
test= DTC.predict(x_test)

plot_tree(DTC, feature_names= x_data.columns)
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum