8000 DOC use notebook-style for plot_svm_anova.py by JihaneBennis · Pull Request #22779 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC use notebook-style for plot_svm_anova.py #22779

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

Merged
merged 5 commits into from
Mar 18, 2022

Conversation

JihaneBennis
Copy link
Contributor
@JihaneBennis JihaneBennis commented Mar 12, 2022

#pariswimlds

Reference Issues/PRs

Issue in #22406

What does this implement/fix? Explain your changes.

Minor Doc fix : replacing # #### by # %%

Any other comments?

@JihaneBennis JihaneBennis changed the title Doc plot svm anova Doc fix example (#22406) #pariswimlds Mar 12, 2022
@lesteve
Copy link
Member
lesteve commented Mar 12, 2022

Thanks for your PR, I edited the title of your PR so that it contains the exemple filename!

One of the reason is that we have a script that updates #22406 automatically and that this script relies on the filename being in the PR title.

@lesteve lesteve changed the title Doc fix example (#22406) #pariswimlds DOC use notebook-style for plot_svm_anova.py #pariswimlds Mar 12, 2022
Copy link
Member
@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

This is quite a minimal example, so I'm happy with the change (usually it's nice to have more explanation at the beginning of each cell, but I'm not sure if this example requires that)

@@ -20,14 +20,14 @@
from sklearn.svm import SVC
Copy link
Member

Choose a reason for hiding this comment

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

Could you please remove this cell and move the imports at the beginning of each cell below: each import should go to the cell it is first needed.

This would make the example nicer by avoiding the wall-of-import effect in the first cell.

@lesteve lesteve added the Quick Review For PRs that are quick to review label Mar 14, 2022
@lesteve lesteve mentioned this pull request Mar 14, 2022
47 tasks
lesteve and others added 2 commits March 18, 2022 15:06
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
@lesteve lesteve changed the title DOC use notebook-style for plot_svm_anova.py #pariswimlds DOC use notebook-style for plot_svm_anova.py Mar 18, 2022
@lesteve
Copy link
Member
lesteve commented Mar 18, 2022

Merging, thanks a lot!

@lesteve lesteve merged commit 57e3523 into scikit-learn:main Mar 18, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0