epiforecasts / scoringutils

Utilities for Scoring and Assessing Predictions
https://epiforecasts.io/scoringutils/
Other
48 stars 20 forks source link

Update `plot_heatmap()` to be a table instead of a plot #826

Open nikosbosse opened 4 months ago

nikosbosse commented 4 months ago

I believe I mentioned it in the past but I am still uncomfortable with the plot_heatmap() function. The output here should be a table, not a plot. This comes with accessibility issues, as the values are no longer accessible to screen readers, and it’s harder to copy-paste the values. There are good options to have tables with coloured cells today, and it should probably be the way to go.

Originally posted by @Bisaloo in https://github.com/epiforecasts/scoringutils/pull/791#pullrequestreview-2003401135

nikosbosse commented 4 months ago

@Bisaloo could you elaborate a bit on what exactly you had in mind please? Where you thinking about generating latex output, html output or something like that?