Skip to content

DOC Add link to plot_sparse_cov example - #31278

Merged
adrinjalali merged 4 commits into
scikit-learn:mainfrom
EngineerDanny:doc/add-link-plot-sparse-cov
May 6, 2025
Merged

adrinjalali merged 4 commits into
scikit-learn:mainfrom
EngineerDanny:doc/add-link-plot-sparse-cov

Conversation

@EngineerDanny

Copy link
Copy Markdown
Contributor

Reference Issues

Towards #30621

What does this implement / change?

Adds a sphinx-gallery reference to plot_sparse_cov.py in the
GraphicalLassoCV docstring (and GraphicalLasso for symmetry).
No runtime code touched.

@github-actions

github-actions Bot commented Apr 30, 2025 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: fc0c41f. Link to the linter CI: here

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

Hello @EngineerDanny,

thank you for your PR. I like your description to that example, but we need to find a better place to put the link.

The See Also is a place where we aim to link to other API classes or functions, but not examples. (I will add this in the issue description for future contributors.)

Would you mind looking around for another spot where to put the link? Maybe similar as in #30577.

Comment thread sklearn/covariance/_graph_lasso.py Resolved

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

Thanks for your work, @EngineerDanny. I'm happy with this reference's new spot. Approving.

@adrinjalali, would you like to have a look?

@adrinjalali adrinjalali changed the title DOC Add link to plot_sparse_cov example (Towards #30621) DOC Add link to plot_sparse_cov example May 6, 2025
@adrinjalali
adrinjalali merged commit e78fce4 into scikit-learn:main May 6, 2025
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