Plotly.express.imshow shows letters behind numbers when number is small (i.e 1.19e-07)

While doing a course in statistics i came across the issue where numbers approaching 0 appear as letters instead of their numerical representation when using imshow for heatmaps.

Such as ending in ‘f’ for ‘OP1 - OP4’ and ‘n’ for ‘OP3 - OP4’ as seen below. Is there a way to fix this? While not dealbreaking, since Dunn’s test doesn’t benefit from displaying values below 0.01, it is still weird and unexpected behavior…

Screenshot from Plotly:

Screenshot from console log:

hi @Johannes
Thank you for catching this. Can you please open an issue on Plotly.py with this bug?

1 Like