Skip to content
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

enplot: add background color setting #265

Open
misharash opened this issue Aug 10, 2024 · 0 comments
Open

enplot: add background color setting #265

misharash opened this issue Aug 10, 2024 · 0 comments

Comments

@misharash
Copy link

misharash commented Aug 10, 2024

It seems enplot generates all figures with a transparent background. This (with the standard black font color) obstructs their view in dark interface mode (e.g. JupyterLab or sharing on Slack).
I have not found an option to set a background color (e.g. white). As a workaround, I re-implemented show_ipython to replace transparency with white according to this StackOverflow answer.
Another way around this could be setting font_color='FFFFFF', which, however, would cause issues with some light-mode viewers. A fixed background color seems like a more universal solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant