react-jupyter-notebook icon indicating copy to clipboard operation
react-jupyter-notebook copied to clipboard

Compatibility with svg outputs

Open ColasDroin opened this issue 2 years ago • 1 comments

Thank you for your amazing work with this component, which will be super useful for my blog. I was wondering if there was an easy way for the rendered notebook to also display vectorial images. I.e. have a cell like this actually display the output:

import matplotlib.pyplot as plt
import matplotlib_inline.backend_inline as backend_inline 
backend_inline.set_matplotlib_formats('svg')
plt.plot([1, 2, 3, 4])
plt.show()

I'm asking because vectorial rendering is much prettier on any modern screen. Thanks!

ColasDroin avatar Jun 29 '22 08:06 ColasDroin