Grouped boxplot with variable number of components

Hello,

I am trying to make grouped boxplot but each group could have variable number of components.
Using the plotly example code: https://plot.ly/~juanjo.cifuentes/460/kale-radishes-carrots/

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