Skip to content

DOC Fix colors in decision tree example - #33909

Merged
lorentzenchr merged 1 commit into
scikit-learn:mainfrom
AnneBeyer:dbd_fix_colors_plot_iris_dtc
May 1, 2026
Merged

lorentzenchr merged 1 commit into
scikit-learn:mainfrom
AnneBeyer:dbd_fix_colors_plot_iris_dtc

Conversation

@AnneBeyer

Copy link
Copy Markdown
Member

Reference Issues/PRs

Towards #33557

What does this implement/fix? Explain your changes.

DecisionBoundaryDisplay and scatter plot now use the default colors.
I also cleaned up some unused parameters, refactored the scatter plot and moved the legend to the bottom.

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Any other comments?

@virchan virchan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks, @AnneBeyer!

@virchan virchan added Quick Review For PRs that are quick to review Waiting for Second Reviewer First reviewer is done, need a second one! labels May 1, 2026
@lorentzenchr
lorentzenchr merged commit fca90c1 into scikit-learn:main May 1, 2026
46 checks passed
@AnneBeyer
AnneBeyer deleted the dbd_fix_colors_plot_iris_dtc branch June 4, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Quick Review For PRs that are quick to review Waiting for Second Reviewer First reviewer is done, need a second one!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants