-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] Modify Classification module example matplotlibv2 #8516
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
[MRG] Modify Classification module example matplotlibv2 #8516
Conversation
Add `edgecolors` attribute to scatter plot
Add `markeredgecolors` attribute in plot
Remove extra indentation
Codecov Report
@@ Coverage Diff @@
## master #8516 +/- ##
=======================================
Coverage 95.48% 95.48%
=======================================
Files 342 342
Lines 60913 60913
=======================================
Hits 58160 58160
Misses 2753 2753 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #8516 +/- ##
==========================================
+ Coverage 95.48% 95.48% +<.01%
==========================================
Files 342 342
Lines 60913 61013 +100
==========================================
+ Hits 58160 58259 +99
- Misses 2753 2754 +1
Continue to review full report at Codecov.
|
The first one I can see a minor difference, but I can't see a big difference in the second one. What change did you make there? |
@jmschrei actually I've just added edgecolors parameter with |
I think plot_lda_qda does not need to be changed, i.e. the way it looks is fine with matplotlib 2. For plot_classifier_comparison.py, with the lack of black edge color, the red points looks overly bright so I would be +1 for adding edge colors. For consistency can you add the edge colors on the most left plots as well? |
Modify both example as per discussion in PR request.
Remove extra space.
OK I am going to merge this one. I bumped into #8364 (comment) with seems to match my "overly bright" statement above. @amueller please shout if it still hurts your eyes: Thanks @rishikksh20! |
Huh How did I just notice that that got fixed? Interesting. No, I'm very happy now! Thanks @rishikksh20 |
Reference Issue
#8364
What does this implement/fix? Explain your changes.
Add edgecolors attribute to scatter plot and markeredgecolors attribute to plot.
Any other comments?
plot_classifier_comparison.py :
Stable: http://scikit-learn.org/stable/auto_examples/classification/plot_classifier_comparison.html
Dev: http://scikit-learn.org/dev/auto_examples/classification/plot_classifier_comparison.html
PR: https://9277-843222-gh.circle-artifacts.com/0/home/ubuntu/scikit-learn/doc/_build/html/stable/auto_examples/classification/plot_classifier_comparison.html
plot_lda_qda.py :
Stable: http://scikit-learn.org/stable/auto_examples/classification/plot_lda_qda.html
Dev: http://scikit-learn.org/dev/auto_examples/classification/plot_lda_qda.html
PR: https://9277-843222-gh.circle-artifacts.com/0/home/ubuntu/scikit-learn/doc/_build/html/stable/auto_examples/classification/plot_lda_qda.html