The test is checking if the same values appear in the same order - if your chart has a different order of categories, it will fail the test.
And you heatmap… well there is no heatmap because you implemented the data-cleaning with the wrong comparisons, creating an empty dataframe and that’s just a heatmap of exactly that.