matplotlib / matplotlib/matplotlib

[Doc]: logo example should include dark option and have names

Open
#25,537 4 comments 1 reaction 0 assignees View on GitHub

@jeromefv is already working on this.

Since Oct 3, 2025.

  • #30631 by @jeromefv — open
Documentation keep
Dominant language
Python
Stars
23.2k
Forks
8.5k
Avg merge
1d 6h
Merged PRs (30d)
66

Description

### Documentation Link

https://github.com/matplotlib/matplotlib/blob/main/galleries/examples/misc/logos2.py

### Problem

We now have a dark version that should be in the logo example as a toggle.

The logo example should have "logo_light.svg" and "logo_dark.svg" somewhere in the text so its searchable by the name of the files that get used in the site logo.

See https://github.com/matplotlib/mpl-sphinx-theme/issues/62

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with galleries/examples/misc/logos2.py and review mpl-sphinx-theme issue 62 for the dark-logo context. Done means the logo example includes a dark-version toggle and its text contains both logo_light.svg and logo_dark.svg.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.