matplotlib / matplotlib/matplotlib
[ENH]: Add dark mode for subplot configuration tool
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 23.2k
- Forks
- 8.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 66
Description
### Problem
The subplot configuration tool is currently white background/black text when macOS is in dark mode. It would be nice to apply a dark style sheet when macOS is in dark mode. This is using the macosx backend, but might be an issue for other backends (but not QT AFAIK).
```python
import matplotlib.pyplot as plt
plt.figure()
plt.show()
```
### Proposed solution
Apply a dark style sheet to the configuration tool when macOS is in dark mode.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the subplot configuration tool entry point used by the macosx backend and run the provided Python example on macOS in light and dark modes. Check how existing backend styles are selected; done means the tool uses a dark style in macOS dark mode while preserving the current behavior for Qt and other backends.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100