Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Doc]: Examples Gallery Layout changed to one or two columns #23976

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

Closed
StefRe opened this issue Sep 21, 2022 · 4 comments · Fixed by #24475
Closed

[Doc]: Examples Gallery Layout changed to one or two columns #23976

StefRe opened this issue Sep 21, 2022 · 4 comments · Fixed by #24475

Comments

@StefRe
Copy link
Contributor

StefRe commented Sep 21, 2022

Documentation Link

https://matplotlib.org/devdocs/gallery/spines/index.html

Problem

Galleries without text, e.g. Spines are shown in a one or two column layout with broad margins at both sides (galleries without text, e.g. Color don't seem to be affected, but sometimes have a big top margin).
The only gallery that didn't change and looks normal is Embedding Matplotlib in graphical user interfaces which only contains placeholder images.
This change might be caused by sphinx-gallery/sphinx-gallery#906 ?

CURRENT (3.6/3.7):
grafik

PREVIOUS (3.5):
grafik

Suggested improvement

Restore old layout.

@QuLogic
Copy link
Member

QuLogic commented Sep 21, 2022

This should be reported to sphinx-gallery.

@QuLogic
Copy link
Member

QuLogic commented Sep 21, 2022

Actually probably a pydata-sphinx-theme issue: pydata/pydata-sphinx-theme#904

@StefRe
Copy link
Contributor Author

StefRe commented Sep 22, 2022

@QuLogic: Thanks! I added a comment there: pydata/pydata-sphinx-theme#904 (comment)

So we can close the issue here in matplotlib?

@timhoffm
Copy link
Member

The question is whether we want to add

.bd-article-container {
  width: 100%;
}

as a temporary workaround on our side until pydata-sphinx-theme has released a fixed version.

StefRe added a commit to StefRe/matplotlib that referenced this issue Nov 16, 2022
Fix single column layout and extra white space caused by
pydata-sphinx-theme 0.10.0, see matplotlib#23976. This was fixed
in github.com/pydata/pydata-sphinx-theme/pull/964.
@QuLogic QuLogic added this to the v3.6.3 milestone Nov 17, 2022
melissawm pushed a commit to melissawm/matplotlib that referenced this issue Dec 19, 2022
Fix single column layout and extra white space caused by
pydata-sphinx-theme 0.10.0, see matplotlib#23976. This was fixed
in github.com/pydata/pydata-sphinx-theme/pull/964.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants