Overview: problem statistics hover inaccessible with small number of students
This is a follow-up from !244 (merged).
Plotly does not yet support hovering over axis labels, as a workaround a scatter plot is included in the heatmap where a point for each problem is placed at x = -2
. The hover text is attached to the points and hovermode: "closest"
forces the tooltip to show up if the cursor is place right above the line x = 0
. This works for a large number of students because the separation between students is small and x = -2
is close to the zero line, however when the number of students is small the width of the box is large and the tooltip position is too far away to be seen.