How can I adjust the location of the y axes tick to be centered?

Screenshot Capture - 2023-06-09 - 15-45-38

Looking to understand what is ideal metric to modify to position it in the center of each bar?

HI @shubhams_09 how did you create this plot?

I used this as follows:


fig = go.Figure(
        data=go.Bar(
            x=x,
            y=y,
            marker={"color": "#79CCCD"},
            orientation="h",
            text=x,
            textposition="outside",
            offset=0,
        ),
        layout={
            "height":((TEAM_TABLE_CELL_HEIGHT + bar_gap_approx) * len(x))+20,
            "xaxis": {
                "title": title,
                "zeroline": False,
                "showticklabels": False,
                "range": [0, max(x)*1.2],
            },
            "yaxis": {
                "tickmode": "array",
                "tickvals": tickvals,
                "ticktext": team_names,
            }
        },
    )

could you add some (dummy) data?