Skip to content
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

Duplicated gallery examples for a given class in the API documentation #1414

Open
ogrisel opened this issue Dec 4, 2024 · 1 comment
Open

Comments

@ogrisel
Copy link
Contributor

ogrisel commented Dec 4, 2024

On the scikit-learn documentation, I observed that the sphinx-gallery plugin has generated duplicated links for usage examples of the PartialDependenceDisplay class:

https://scikit-learn.org/stable/modules/generated/sklearn.inspection.PartialDependenceDisplay.html

image

The example titled "Advanced Plotting With Partial Dependence" is linked 3 times.

I have not investigated what can possibly cause this.

@lucyleeow
Copy link
Contributor

I strongly suspect it's due to the minigallery directive, see: #1259

I'll have a deeper look but the duplication problem isn't trivial to fix unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants