How to avoid grouping in bar chart

I am trying to plot a bar chart that shows reactivity values corresponding to bases in an RNA.
The data is like this:
x = [ā€˜Gā€™, ā€˜Gā€™, ā€˜Aā€™, ā€˜Aā€™, ā€˜Aā€™, ā€˜Cā€™, ā€˜Cā€™, ā€˜Gā€™, ā€˜Aā€™, ā€˜Aā€™, ā€˜Uā€™, ā€˜Cā€™, ā€˜Gā€™, ā€˜Gā€™, ā€˜Aā€™, ā€˜Gā€™, ā€˜Aā€™, ā€˜Cā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Cā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Gā€™, ā€˜Uā€™, ā€˜Uā€™, ā€˜Gā€™, ā€˜Aā€™, ā€˜Gā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Aā€™, ā€˜Uā€™, ā€˜Cā€™, ā€˜Gā€™, ā€˜Uā€™, ā€˜Cā€™, ā€˜Gā€™, ā€˜Aā€™, ā€˜Cā€™, ā€˜Uā€™, ā€˜Uā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Uā€™, ā€˜Gā€™, ā€˜Cā€™, ā€˜Gā€™, ā€˜Aā€™, ā€˜Uā€™, ā€˜Cā€™, ā€˜Gā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Uā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Cā€™, ā€˜Uā€™, ā€˜Gā€™, ā€˜Cā€™, ā€˜Uā€™, ā€˜Aā€™, ā€˜Cā€™, ā€˜Gā€™, ā€˜Aā€™]
y = [0.26130000000000003, 0.38420000000000004, 0.13720000000000002, 0.2531, 0.17980000000000002, 0.1371, 0.1736, 0.1791, 0.1056, 0.18960000000000002, 0.183ā€¦] (corresponding to each alphabet in the previous list)

I made a function which plots a graph like this:


But I want it like this:
Annotation 2020-09-22 085636

Here is the code:


def grapher(ids, option):
    fig = go.Figure()
    for id_ in ids:
        y = sequences[id_][option]
        fig.add_trace(
            go.Bar(
                x=list(sequences[id_]["sequence"]),
                y=y,
                name=id_ + "<br>" + sequences[id_]["sequence"],
            )
        )
    fig.update_layout(title=option, barmode="relative", bargap=0.1)
    return fig

What can I do to get the result I want?
Please assume that the desired x and y values are fed into the function.
Thanks!