plotly / plotly.py

The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
https://plotly.com/python/
MIT License
15.62k stars 2.51k forks source link

`Download plot as png` from `dcc.Graph` sometimes shows a blank PNG with annotations #4604

Open matt-sd-watson opened 1 month ago

matt-sd-watson commented 1 month ago

Our application uses a dcc.Graph with px.imshow to render a user-edited image with annotations.

Certain users have reported the following image errors when using the Download plot as png, where the underlying image is grayed out with the default grid lines provided, but the text annotations are still retained:

324509122-a7923dd6-c7da-4ddc-ae4e-b415d163b814

This issue is difficult to replicate because it occurs only for certain users, and not for others who have similar OS and browser setups.

Coding-with-Adam commented 1 month ago

Hi @matt-sd-watson I'll try to replicate on my end using different browsers. Do you mind sharing sample code?