Plot_tree Rotate parameter isn't taken into account #15694
Labels
Bug
Easy
Well-defined and straightforward way to resolve
good first issue
Easy with clear instructions to resolve
help wanted
Description
The
rotate
parameter has no effect insklearn.tree.plot_tree
function.After checking the code the
rotate
parameter has been inherited from thesklearn.tree.export_graphviz
but has no effect in the code, simply because matplotlib does not manage this option.Two possibility here
rotate
can be simply removedrotate
is activated inplot_tree
I would be happy to propose a PR, just let me know which solution would be preferable
Steps/Code to Reproduce
See #13971
Versions
For scikit-learn >= 0.21:
The text was updated successfully, but these errors were encountered: