Using comma separator changes number

Hi,

I got numbers like this: “1,7”, “4,6” and so on. When I set this:

layout.separators = ',.'

“1,7” turns into “17”. What I am doing wrong?

Thanks in advance!

Oh. layout.separators applies to the output number on the graph, not the input number in your coordinate arrays.

You’ll have to format them before passing them to Plotly.plot.