Skip to content

DOC improve iris example #26973

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 28 commits into from
Sep 7, 2023

Conversation

eguenther
Copy link
Contributor

Adds a link to the plot_iris_dataset example (#26927 ) to make it more discoverable.
Thanks @adrinjalali @glemaitre

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

❌ Linting issues

There was an issue running the linter job. Please update with upstream/main (link) and push the changes. If you already have done that, please send an empty commit with git commit --allow-empty and push the changes to trigger the CI.

Generated for commit: 474e8cc. Link to the linter CI: here

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.

@glemaitre glemaitre self-requested a review August 11, 2023 21:19
@eguenther
Copy link
Contributor Author

Thanks @glemaitre for your comments!

# %%
# Scatter Plot of the Iris dataset
# --------------------------------
import matplotlib.pyplot as plt # noqa: E402
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
import matplotlib.pyplot as plt # noqa: E402
import matplotlib.pyplot as plt

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to leave this in, otherwise the linter would not let me commit

Copy link
Member

Choose a reason for hiding this comment

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

This is weird, because our global conf already discard E402.
I committed and pushed with the fix and it seems that pre-commit did not annoy me. Not sure why you got in trouble.

@eguenther
Copy link
Contributor Author

Thanks for the helpful comments @glemaitre !

@glemaitre glemaitre self-requested a review September 7, 2023 14:02
@glemaitre
Copy link
Member

Good for merging. Thanks @eguenther

@glemaitre glemaitre merged commit a31e108 into scikit-learn:main Sep 7, 2023
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Sep 18, 2023
Co-authored-by: Elisabeth Günther <eguenther@MacBook-Pro-von-Elisabeth.local>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
jeremiedbb pushed a commit that referenced this pull request Sep 20, 2023
Co-authored-by: Elisabeth Günther <eguenther@MacBook-Pro-von-Elisabeth.local>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
Co-authored-by: Elisabeth Günther <eguenther@MacBook-Pro-von-Elisabeth.local>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
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.

3 participants