posit-dev / posit-dev/great-docs
Plots with automatic paired light/dark-mode outputs
Open
@rich-iannone is already working on this.
Since Apr 30, 2026.
Difficulty: [2] Intermediate
Effort: [2] Medium
Priority: [2] Medium
Type: ★ Enhancement
- Dominant language
- Python
- Stars
- 262
- Forks
- 18
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 14
Description
It would be interesting to automatically provide a dark-themed plot when a user is in dark mode. Explore the use of (https://plotnine.org/reference/theme_dark.html#plotnine.theme_dark). Other options to avoid what's seen in https://posit-dev.github.io/py-yaml12/benchmarks/benchmarks.html (large white backgrounds when in dark mode) include simply dimming the plot (lightening on hover or tap) or including a widget with brightness controls.
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.
Assessment
This issue has not been assessed yet.