plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
17.09k stars 1.87k forks source link

Plotly.js cluster not working correctly #6948

Open Hyron48 opened 7 months ago

Hyron48 commented 7 months ago

Hello everyone. I'm using Plotly.js on angular to plot points on a scattermapbox. However, when I enable clusters, the call to get the fonts for the clusters fails. however I have no way to change the font URL. by any chance can you help me? Unfortunately on codepen I tried to recreate the case, but it seems that the cluster is not enabled at all.

codepen link

Error image:

Screenshot 2024-04-04 alle 10 42 38
TillerBurr commented 7 months ago

This seems very similar to a bug I fixed previously: https://github.com/plotly/plotly.js/pull/6652. Is the code in the codepen the same that was causing the error?

TillerBurr commented 7 months ago

Also, I just want to confirm that you are using the latest version.

Hyron48 commented 7 months ago

Yes, I'm using the latest version of Plotly and the code on codepen is the same as mine, but I don't understand why on my project it returns the error, but on codepen the cluster doesn't work at all