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

Bqplot formatting saved image (png) #1527

Open
FredDuj opened this issue Sep 22, 2022 · 0 comments
Open

Bqplot formatting saved image (png) #1527

FredDuj opened this issue Sep 22, 2022 · 0 comments

Comments

@FredDuj
Copy link

FredDuj commented Sep 22, 2022

I'm new to bqplot. I'm trying to save image of plots in png to use them in some powerpoint presentations. I'm trying to find a way to do something similar to whtat you can do with matplotlib with the paramater " bbox_inches="tight" " in the .savefig function and also with the parameter "transparent=True". For the first one, I tried using "fig_layout = widgets.Layout(width='auto', height='auto')" in the parameter of the bqplot figure function, but it render the plot totally wrong and doesn't remove the gray and white outer boxes. Is there a way to make it work automatically without having to adapt manually for each plot ?

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