I am plotting a heatmap of datetime data, day of week and hour of day. the data was structured to a pivot table to feed into a heatmap.
According to the documentation, there should be an argument for annotations, entitled “text_auto”. However, when I run this code (below), I get an error. I am using Plotly 4.14.3 with Python 3.9
I ended up upgrading to a heatmap (ultimately one that shows variables across dimensions), but the below worked for my use case. The below trace used Histogram2d.
I had some issues concerning the backend of heatmaps, specifically how they handle timeseries data. For my case I was dealing with 168 5-minute intervals. There seemed to be no answer to another with how to format the ticks.
I did manage to sort the x axis using categoryorder, which was much simpler.