Skip to content

DOC Update colors in Scaling Importance example - #33888

Merged
jeremiedbb merged 1 commit into
scikit-learn:mainfrom
AnneBeyer:dbd_fix_colors_scaling_importance
May 4, 2026
Merged

jeremiedbb merged 1 commit into
scikit-learn:mainfrom
AnneBeyer:dbd_fix_colors_scaling_importance

Conversation

@AnneBeyer

Copy link
Copy Markdown
Member

Reference Issues/PRs

Towards #33557

What does this implement/fix? Explain your changes.

Re-use display colors for scatter plot.

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?

@jeremiedbb jeremiedbb 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.

This example has "red", "green", "blue" hardcoded colors below. Maybe worth to use the first 3 petroff colors instead in a future PR

@jeremiedbb
jeremiedbb merged commit 63ee814 into scikit-learn:main May 4, 2026
36 checks passed
@AnneBeyer
AnneBeyer deleted the dbd_fix_colors_scaling_importance branch June 4, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants