Unable to display all hoverinfo values in horizontal bar chart + scatter

Horizontal bar chart + scatter source code


I’m trying to use both horizontal bar and scatter on the same chart.
The vertical one is ok but with horizontal orientation, the chart don’t let me read the scatter value if another scatter (elsewhere) has the same value.

(In example, can’t get monkeys 25 (age mean) because elephants already have 25(age mean) on the same axis)

Is there a way to solve it ?


try setting layout.hovermode: 'y'

1 Like