reversed z-score scale in Biodiverse map console

6 views
Skip to first unread message

Diego Salariato

unread,
Jul 17, 2026, 8:01:30 PM (6 days ago) Jul 17
to Biodiverse Users

Hello everyone!


I'd like to ask about something I've noticed in both Biodiverse 5.0 and 5.99_002. When displaying randomized index results in the Map Console, the values on the color scale appear to be reversed in terms of sign.

For example, for PD (and, in fact, for all randomized indices I've checked), cells with positive z-scores are associated with negative values on the scale bar. The color gradient itself appears to be correct, but the numerical labels on the scale seem to have their signs reversed. In addition, the negative values are shown at the top of the scale bar and the positive values at the bottom, whereas I would expect the opposite.

This did not occur in earlier versions (e.g., version 4), so I suspect it may be related to how the numerical scale is being displayed rather than to the underlying calculations.

Has anyone else encountered this issue? If so, do you know what might be causing it and how the scale should be interpreted?

Thank you in advance!

diego

Shawn Laffan

unread,
Jul 17, 2026, 9:31:23 PM (6 days ago) Jul 17
to biodiver...@googlegroups.com, Diego Salariato
Hello Diego,

Thanks for the report.  

This is a bug in the plotting code due to an oversight when rewriting it for version 5.  The labels are in reverse order compared with the colours.

A fix is now in place and will be part of the next release.  
https://github.com/shawnlaffan/biodiverse/pull/1158


Regards,
Shawn.


On 17/07/2026 21:12, Diego Salariato wrote:


diego --
You received this message because you are subscribed to the Google Groups "Biodiverse Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biodiverse-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/biodiverse-users/1189767d-c630-484c-b4e7-4eafd0547442n%40googlegroups.com.



This email and any files transmitted with it may contain confidential information. If you believe you have received this email or any of its contents in error, please notify me immediately by return email and destroy this email. Do not use, disseminate, forward, print or copy any contents of an email received in error.


Reply all
Reply to author
Forward
0 new messages