8000 Return default savefig transparency to False by lukelbd · Pull Request #252 · proplot-dev/proplot · GitHub
[go: up one dir, main page]

Skip to content

Return default savefig transparency to False #252

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 29, 2021

Conversation

lukelbd
Copy link
Collaborator
@lukelbd lukelbd commented Jun 29, 2021

Originally I enforced the default behavior rc['savefig.transparent'] = True to make saved figure backgrounds transparent by default. This can be nice when putting plots on slides, posters, or websites with different light-colored backgrounds.

However, with the rising popularity of "dark modes" (on Github, macOS, twitter, etc.), this behavior more often results in users trying to read black text on dark backgrounds, and can be extremely frustrating and confusing. It also results in saved PDFs (which always show against white backgrounds) looking different from saved PNGs.

This PR reverts proplot to the more sensible default behavior of rc['savefig.transparent'] = False.

@lukelbd lukelbd merged commit fa77901 into master Jun 29, 2021
@lukelbd lukelbd deleted the default-transparent-false branch June 29, 2021 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0