Skip to content

DOC fix DecisionBoundaryDisplay color consistency in plot_linearsvc_support_vectors example#33701

Closed
TobyB1702 wants to merge 1 commit intoscikit-learn:mainfrom
TobyB1702:fix_linear_svc_support_vector_colour_decision_boundary
Closed

DOC fix DecisionBoundaryDisplay color consistency in plot_linearsvc_support_vectors example#33701
TobyB1702 wants to merge 1 commit intoscikit-learn:mainfrom
TobyB1702:fix_linear_svc_support_vector_colour_decision_boundary

Conversation

@TobyB1702
Copy link
Copy Markdown

Reference Issues/PRs

Towards Issue #33557

What does this implement/fix? Explain your changes.

The PR addresses the multiclass colors consistent issue for
DecisionBoundaryDisplay and uses multiclass_colors="viridis" instead for
examples/svm/plot_linearsvc_support_vectors.py

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

@AnneBeyer
Copy link
Copy Markdown
Contributor

Hi @TobyB1702, thank you for wanting to contribute!
But the intention of the issue was to find cases where the colors of the scatterplot don't match the background colors of the decision boundary, which is not the case here, so this example does not need any changes.

@TobyB1702 TobyB1702 closed this Apr 10, 2026
@TobyB1702
Copy link
Copy Markdown
Author

My mistake! Will close it here

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