Grouped boxplot with variable number of components


I am trying to make grouped boxplot but each group could have variable number of components.
Using the plotly example code:

The problem is the box are not center to their respective ticks.

How is this corrected?

Could you provide an example of your code and dataset?
That would help

1 Like