I am facing a problem with the gridwidth
not the same for all grid lines. The thickest lines vary when you zoom-in and zoom-out. I need to make all grid lines have the same width. I changed the gridwidth
many values less than 1 and greater than 1, but the issue still exists. I think this is a bug in plotly. I saw there is a thread not answered yet. Question
import plotly.express as px
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", facet_col="species")
fig.update_xaxes(showgrid=True, gridwidth=1, gridcolor='black')
fig.show()