Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve layout of cheatsheets in sidebar#29789

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dstansby merged 1 commit intomatplotlib:mainfromdstansby:cheatsheet-sidebar
Apr 30, 2025

Conversation

dstansby
Copy link
Member

@dstansbydstansby commentedMar 21, 2025
edited
Loading

PR summary

This improves the layout of the cheatsheets so:

  • The image takes up the full width of the sidebar
  • The heading is aligned with the top of the RH sidebar
  • The title drops "Matplotlib" (there are already many 'Matplotlib' strings on the home page 😄) and is now just "Cheatsheets"

Note this depends onmatplotlib/mpl-sphinx-theme#97 to remove existing CSS for styling the cheatsheets that was in the theme.

For a before/after comparison, see the companion PR atmatplotlib/mpl-sphinx-theme#97

PR checklist

@dstansbydstansby marked this pull request as ready for reviewMarch 21, 2025 12:50
@story645
Copy link
Member

@dstansby if all the machinery is in place you're welcome to self merge, I'm just not sure if this is waiting on a release of the theme.

@dstansby
Copy link
MemberAuthor

Even without a new release of mpl-sphinx-theme this is a minor improvement, so I don't see the harm in merging this now instead of waiting for a release of mpl-sphinx-theme.

@dstansbydstansby merged commit07b3032 intomatplotlib:mainApr 30, 2025
22 of 23 checks passed
@dstansbydstansby deleted the cheatsheet-sidebar branchApril 30, 2025 09:36
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestApr 30, 2025
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestApr 30, 2025
dstansby added a commit that referenced this pull requestApr 30, 2025
…789-on-v3.10.xBackport PR#29789 on branch v3.10.x (Improve layout of cheatsheets in sidebar)
dstansby added a commit that referenced this pull requestApr 30, 2025
…789-on-v3.10.1-docBackport PR#29789 on branch v3.10.1-doc (Improve layout of cheatsheets in sidebar)
@ksundenksunden mentioned this pull requestMay 9, 2025
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.10-doc
Development

Successfully merging this pull request may close these issues.

3 participants
@dstansby@story645@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp