Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature: add color argument to tree export_graphviz (at least for classification) #12839

Open
bertrandhaut opened this issue Dec 20, 2018 · 1 comment

Comments

@bertrandhaut
Copy link
Contributor

The export_graphviz when applied on a classification tree can color the node according to the assigned class.

The color code used for that class is automatically built using the _color_brew function.

It would be nice to let the user gives these color as argument to the export_graphviz function.

A typical use case is when the user is already creating other graphs with color assigned to the class. It will be nice to have the same "color code convention" on all graphs.

@jbeanz
Copy link

jbeanz commented May 26, 2023

/take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants