gopherdata / gophernotes

The Go kernel for Jupyter notebooks and nteract.
MIT License
3.8k stars 264 forks source link

Can not display multiple images from single cell #185

Closed mattn closed 4 years ago

mattn commented 4 years ago

In my short understanding, images on gophernotes use last evaluated values via display.XXX. So we can not display multiple images from single cell.

This is python kernel image

And Go image

ditto image

mattn commented 4 years ago

If calling receipt.PublishExecutionResult for each values, it seeks working.

image

But we have to go breaking compatibility.

mattn commented 4 years ago

Ah. I found the way to display images

Display(display.PNG(b))
Display(display.PNG(b))
Display(display.PNG(b))