The goal is to get vertical infinite lines in every subplot, at x=1. In this example, I\'ll just try a single plotly shape of type=\"line\" in the first row, first column
add_vline/add_hline methods were added in 4.12.0 for vertical and horizontal lines. Similar for other shapes too. See https://plotly.com/python/horizontal-vertical-shapes/. An example from those docs:
import plotly.express as px
df = px.data.iris()
fig = px.scatter(df, x="petal_length", y="petal_width")
fig.add_hline(y=0.9)
fig.add_vrect(x0=0.9, x1=2)
fig.show()