What is the equivalent of the threshold parameter in the Decision Tree class in scikit-learn?

I am working with the DecisionTreeClassifier class in scikit-learn and I am trying to find out what the equivalent of the threshold parameter is in this class. In other words, how can I set a threshold for the decision tree classifier to use in making predictions? Are there any specific parameters or methods I should be looking at? Can you provide an example of how to set a threshold for a decision tree classifier in Python using scikit-learn?

Here’s what I have done so far: