ipyplot
ipyplot copied to clipboard
[Feature request] Inlining svg files
Hi,
Thanks for your work, your package is just super convenient to work with.
I wanted to suggest the possibility to authorize svg inlining inside the html. SVG is convenient for scientific visualization (as most figures created with matplotlib or Tickz are vectorized) and a good alternative to f_64 conversion that induced a loss of resolution in my case when resizing. Usual inclusion with relative or absolute path was also not convenient as i needed to share the notebook with collaborators, and sending them the figures separately created more problems than solutions.
It took me a few lines to add the functionality locally but i figured other people could have the same needs. I'd be happy to it send to you if you'd like.
Cheers,
Mikael
Hi @frosini ! Glad you find ipyplot
useful!
This is actually a great idea for a new feature! Would love to see your local
fix for that. Can you make a pull request with your changes (it doesn't have to be clean - we can improve it later)?
Thanks,
Karol