You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to get the annotated image after I used drawrect. The only possible way, for now, is using the Download plot as a png button, save it on pc, read it. Is there a straightforward way to do that?
I mark it as a bug (or maybe it's the intended behavior by the developer) because fig.to_image(format="png", engine="kaleido") return the original image, not the annotated one.
The plt.imshow(img_numpy[...,::-1]) will show the original image, not the annotated image. How to use fig.to_image(format="png", engine="kaleido") to include the annotation of drawrect? Or any workaourd?
The text was updated successfully, but these errors were encountered:
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson
gvwilson
changed the title
Assign "Download plot as a png" value to Variable
enable assignment of "Download plot as a png" value to variable
Aug 12, 2024
Bug (or Feature Request?):
I want to get the annotated image after I used
drawrect
. The only possible way, for now, is using theDownload plot as a png
button, save it on pc, read it. Is there a straightforward way to do that?I mark it as a bug (or maybe it's the intended behavior by the developer) because
fig.to_image(format="png", engine="kaleido")
return the original image, not the annotated one.Note: I'm using a jupyter notebook
do some annotations...
then run:
The
plt.imshow(img_numpy[...,::-1])
will show the original image, not the annotated image. How to use fig.to_image(format="png", engine="kaleido") to include the annotation ofdrawrect
? Or any workaourd?The text was updated successfully, but these errors were encountered: