karolzak / ipyplot

IPyPlot is a small python package offering fast and efficient plotting of images inside Python Notebooks. It's using IPython with HTML for faster, richer and more interactive way of displaying big numbers of images.
MIT License
415 stars 41 forks source link

It would be nice if the return_html option is present #54

Open dlrudco opened 1 year ago

dlrudco commented 1 year ago

Currently, the plot functions only generate HTML and do not return any images. This behavior makes it difficult (if not impossible) to download plotted images, especially if the plot is generated from a NumPy array. However, since the HTML contains the base64-encoded image information (or the URI to the image), downloading the image can be done easily with the BeautifulSoup library if the return_html option is present.

TowhidKashem commented 1 year ago

+1 I would like to be able to add a delete link under the images which will hit an endpoint to delete the image, or even just open it on the local file system so I can delete manually