Black Lives Matter. Please consider donating to Black Girls Code today.

Problems plotting arrows and special characters

Hi,

Last week I suddenly experienced errors with my plotly setup on a webpage. Earlier, I have used ° in the plots and plotting arrows as annotations, but this does not work anymore. I have commented out the part of the code plotting arrows and I also use o instead of ° and then my plot works.

Has there been an update lately, causing this problem? I have attached how I code ° and a picture of the resulting plot.

Thanks for writing in.

This problem will be fixed in the next plotly.js release 1.16.2 set to dropped today.

In the meantime, I’d recommend using unicode characters in your text fields instead of HTML entities.

See example: http://codepen.io/etpinard/pen/dXQAyk?

The new update of plotly.js fixed the problems.

Thanks.

1 Like