When I give a range for my y-axis and the tickformat: “%”, it makes a y value of y = -0% however I want it to just be y = 0%, no negative sign.
Here is what it looks like now
Here is what it looks like without the tickformat: "%
And here is part of my code:
layout={{
height: this.height,
margin: {
l: 70,
r: 10,
b: 45,
t: 10,
pad: 4
},
xaxis: {
title: {
text: "Hue-Angle Bin (<i>j</i>)"
},
tickmode: "linear"
},
yaxis: {
range: [-0.4, 0.4],
title: {
text:
"Local Chroma Shift (<i>R</i><sub>cs,h<i>j</i></sub>) <br />",
font: {
size: 20
}
},
tickformat: "%"
},
bargap: this.bar_gap
}}