Dark background theme
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.8k
- Forks
- 254
- Avg merge
- 10h 35m
- Merged PRs (30d)
- 9
Description
Thanks for plotnine, I'm a big fan!
I like working with a dark background. Using plotnine.themes.theme_dark gives this image, which has a lot of light area which doesn't work well on a dark background.

from plotnine import ggplot, qplot, aes, geom_point, geom_smooth, geom_bar, ggsave, geom_density, theme_set, theme_dark, theme_xkcd
import pandas as pd
theme_set(theme_dark())
df = pd.DataFrame({'a': [1,2,3], 'b': [4,5,6]})
ggplot(aes(x='a', y='b'), data=df) + geom_point()
Might it be possible to add a dark theme like theme_solarized_2 from ggthemes?

Contributor guide
No contributing guide indexed for this repository
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 by locating plotnine.themes.theme_dark and reviewing how the existing theme is assembled. Compare the requested appearance with ggthemes' theme_solarized_2 reference; done means plotnine provides a dark theme that produces the requested low-light-background appearance with the example code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100