orca icon indicating copy to clipboard operation
orca copied to clipboard

Orca (1.2.1, release) seems to ignore tickmode = array, and tickvals

Open jensb opened this issue 5 years ago • 3 comments

If I use the attached plotly JSON and feed it to Orca, I would expect "tickmode" and "tickvals" to get applied and have x axis labels at 82M, 100M, 200M, etc. But I get the default format ("100M" plus small single digits at the subtick positions) instead. Feeding the same to the same Plotly JS code in a normal browser produces the expected output.

plotly-orca-failed-example-tickvals.zip

jensb avatar Oct 14 '19 14:10 jensb

This also applies to online plotly.js.

jensb avatar Oct 15 '19 09:10 jensb

@jensb Can you post an image of the "normal" expected output you got in a browser. Over here I got the same result in Orca and Chromium v69.

Codepen: https://codepen.io/antoinerg/pen/abbNMxj

antoinerg avatar Oct 15 '19 15:10 antoinerg

plotly-data-anon.zip Sorry uploading image directly doesn't seem to work. This is what I get when I patch Plotly so that tickvals and tickmode are respected correctly. both in Browser and in Orca.

jensb avatar Oct 16 '19 08:10 jensb