nbclient icon indicating copy to clipboard operation
nbclient copied to clipboard

feat: support nbagg matplotlib backend (WIP)

Open maartenbreddels opened this issue 5 years ago • 3 comments

This would solve https://github.com/jupyter/nbconvert/issues/1081 and would also make the old legacy nbagg backend work with nbconvert and voila (at least render it).

However, I cannot get it to work, the backend does not send me back the image, which then should be injected in the div.

Note: if you read this, consider using ipympl instead https://github.com/matplotlib/ipympl

maartenbreddels avatar May 29 '20 11:05 maartenbreddels

It now fails for the right reason, which is that the mime bundle only contains a div, while it should contain an image with the base64 encoded data. This is not implemented because I do not get the message containing the image data.

maartenbreddels avatar May 29 '20 12:05 maartenbreddels

@tacaswell @martinRenou Maybe you have ideas on how to fix this? The protocol is a bit hard to digest.

maartenbreddels avatar May 29 '20 13:05 maartenbreddels

Thanks for opening the WIP

MSeal avatar May 29 '20 20:05 MSeal