How to make gridlines same thickness


I have a plotly chart with gridelines enabled. However, some of the gridelines are thicker than the others, as seen in the screenshot below (thick lines highlighted in yellow). How can I make the gridlines to have the same thickness? I have tride setting the gridwidth but this does not solve the issue.