Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Plotly heatmap series ordering

Hi, as you can see in this thread where I queried the problem on Stack Overflow, the later versions of Plotly are causing the default heatmap lab ordering to change to alphabetical instead of how it is specified in the matrix.

The data is fine, but the reordering of names is really annoying. I can workaround this by specifying the names explicitly, but I have to either rearrange my heatmap matrix or append “Z” to the species data.

There surely must be a way to stop plotly’s default behaviour of alphabetised labels?