[Matplotlib-users] Using Matplotlib nbagg for _repr_html_ for notebooks

Juan Nunez-Iglesias jni.soma at gmail.com
Wed Nov 7 16:37:51 EST 2018


Hi, 
 
I'm working on a class to which I would like to add a _repr_html_ [1] method for display in Jupyter notebooks. Is there a way to generate a matplotlib notebook backend view "offline" (not using pyplot, since that will behave differently depending on the currently active backend), and then return the corresponding html? 
 
Thanks, 
 
Juan. 
 
.. [1]: https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-display 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20181107/52a537ce/attachment.html>


More information about the Matplotlib-users mailing list