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

yAxis display having floating point error

If you have tiny percents, and want tickformat to be a percent, plotly has problems calculating the display values:

Is there an alternate format that might work better? I tried ‘%’ and that just made everything ‘0%’.

Any help would be great; thank you!

replacing 'percent' by '.3%' in yaxis.tickformat I think did the trick.

Beautiful! Thank you for your help! I need to get a better grasp on those formatting codes.

You might want to take a look at https://github.com/d3/d3-format#format

Yes, I’ve looked at that and my eyes glaze over. I need to spend some time studying it