mljar / mercury

Convert Jupyter Notebooks to Web Apps
https://RunMercury.com
GNU Affero General Public License v3.0
3.9k stars 247 forks source link

Mercury is replacing all Plotly graphs with the last one on the page #291

Open kapily opened 1 year ago

kapily commented 1 year ago

When I have multiple Plotly graphs on a page, Mercury is replacing all of them with the last one.

I have a repro for this issue and have attached the .ipynb. You will notice that if you run the .ipynb, all of the graphs are generated fine. But when you load the Mercury dashboard, only the last graph works.

I was able to repro this on a Docker container running Ubuntu 22.04. Let me know if you're unable to repro this on your end - I can create a repo with the Dockerfile, etc, but I imagine you'll be able to repro it without.

I uploaded the .ipynb (you will need to rename it to remove the .txt extension and use .ipynb). I also uploaded a screenshot so you can see what I mean. repro_ipynb.txt

screencap

pplonski commented 1 year ago

Thank you @kapily for reporting the issue. Looks like some bug. I will investigate it and let you know.