I’m having trouble setting the width of my box plots when there are more than a handful of box plots on one graphing area. The boxes get very thin and become unreadable but with large gaps in between them.
I’m looping through some data and creating a different trace for each one:
for x, hour in enumerate(hour_names): all_plots.append( go.Box( y = hourly_dict[hour].values, name = str(hour).zfill(2)+':00', boxmean = showmean, ))
And end up with something like:
That is totally unreadable (you can’t even tell its a box plot). So it would be good to widen the boxes.
I can set the width property using
width = 0.8 but then the grouping no longer happens and I get this:
I’ve also played around with boxgap and boxgroupgap in the layout of the plot but it doesn’t fix the problem.
Is there anyway to still group the box plots and also set the width so they’re readable?