GenSpectrum / cov-spectrum-website

A web platform to detect and analyze variants of SARS-CoV-2
https://cov-spectrum.org
GNU General Public License v3.0
60 stars 14 forks source link

BUG: Axis percentages are not well-chosen/formatted, e.g. ??9997% instead of 0.5,1,1.5 etc. #434

Closed corneliusroemer closed 2 years ago

corneliusroemer commented 2 years ago

The y-axis tick labels are sometimes not rounded properly, this should be easy to fix and improve clarity a lot.

Right now, some of them are not legible at all. I get this for looking at the region plots:

image

Seems to be a floating point rounding bug. Only some of the floats are shown weirdly.

chaoran-chen commented 2 years ago

I think that this is a duplicate of #325 fixed by @anastasia-escher in #457.