Bars in grouped bar chart are overlapping?

Hi guys,
Iโ€™m creating a group bar chart (see below) but the pink and green columns are overlapping while there is a small gap between the pink, blue and yellow bars. Is there a way to fix this? I would like all the bars to be flush against each other.

Hereโ€™s my layout:

layout = go.Layout(
xaxis=dict(
    tickangle=-45, 
    categoryorder = "category ascending",
    titlefont=dict(
        size=18,
        color='#7f7f7f'),
    tickfont=dict(
        size=18,
    ),
),
barmode='group',
autosize=False,
width=1150,
yaxis=dict(
    title='Count',
    titlefont=dict(
        size=18,
        color='#7f7f7f'
    ),
    tickfont=dict(
        size=18,
    ),
),

showlegend=False
)

Cheers!

1 Like