In this post, we will see how to resolve partykit: Change the terminal node boxplots to violins Question: The package partykit offers a plotting function for decision trees plot.constparty(), which can display distributions of the terminal node with boxplots (node_boxplot()), ...