Bqplot formatting saved image (png)

Viewed 10

I'm new to bqplot. I'm trying to save image of plots in png to use them in some powerpoint presntations. 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 ?

0 Answers
Related