Would it be possible to add options to save_svg and save_png so that they return the image data instead of proposing to save it from the browser. For example, myfig.save_svg(dump=True) would return the raw SVG data.
This would allow to process the images in Python, in my case to convert it to PDF.
Thanks for your wonderful work!
Would it be possible to add options to
save_svgandsave_pngso that they return the image data instead of proposing to save it from the browser. For example,myfig.save_svg(dump=True)would return the raw SVG data.This would allow to process the images in Python, in my case to convert it to PDF.
Thanks for your wonderful work!