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

To set decimal points on axis

in the uploaded figure, is it possible to set auto adjusted axis points with two decimal points
example 82 to 82.0,81 to 81.0

Here’s how:

I interpreted it wrong. To see the actual value I must hover over the point.

Disregard- I don’t think it’s working. The significant decimal value is always 0. Tried to follow the format documentation and it doesn’t work.

Plotly.plot(‘graph’, [{
y: [80.013, 80.154, 80.863]
}], {
yaxis: {
tickformat : “.3f”