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

Non-transparent plot background #24

Open
aazuspan opened this issue Jul 14, 2022 · 1 comment
Open

Non-transparent plot background #24

aazuspan opened this issue Jul 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@aazuspan
Copy link
Owner

The switch from go.Figure to go.FigureWidget to include interactive buttons caused an unintended side effect of changing plot background color from transparent to white. This is caused by an inconsistency between the two classes (see plotly/plotly.py#3811).

If there's not a workaround or fix, we may just have to live with an opaque background. I guess there are worse things.

@aazuspan aazuspan added the bug Something isn't working label Jul 14, 2022
@aazuspan
Copy link
Owner Author

aazuspan commented Apr 8, 2023

If I can inject some CSS, this is fixable with:

.cell-output-ipywidget-background {
   background-color: transparent !important;
}

See microsoft/vscode-jupyter#9403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant